• Angus Salkeld's avatar
    Make kubectl label and annotate more consistent · 4a09ded0
    Angus Salkeld authored
    Some of the main changes:
    - add dryrun to annotate (can push this in a different PR if requested)
    - use Complete(), Validate() and RunX()
    - don't place dynamic variables in the options (only user options and args)
    - call the NewBuilder() in the Run function.
    
    You can now do diff between these files and they are as identical as possible.
    4a09ded0
annotate.go 11.7 KB