Skip to content

cub unit edit

cub unit edit

Edit the config data of a unit in your system's editor

Synopsis

This command will pull down the latest revision of this unit and open it the editor specified in the EDITOR environment variable or vi if the variable is not set. When the editor process exits, the changes will be saved as a new revision. If the contents were not changed, then no update will be made

cub unit edit <name> [flags]

Options

      --changeset string   changeset to associate the unit with
  -h, --help               help for edit
      --timeout string     completion timeout as a duration with units, such as 10s or 2m (default "10m0s")
      --wait               wait for completion (default true)
      --web                Open in web UI instead of executing

Options inherited from parent commands

      --context string   The context to use for this command
      --debug            Debug output
      --space string     space ID to perform command on

SEE ALSO