Skip to content

cub unit data-edit

cub unit data-edit

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

Synopsis

Open the config data of a unit, as 'cub unit data' shows it, in the editor named by the EDITOR environment variable, or vi if it is not set. When the editor exits, the changes are saved as a new revision. If the data was not changed, no update is made.

cub unit data-edit <unit> [flags]

Options

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

Options inherited from parent commands

      --context string   The context to use for this command
      --debug            Debug output
      --space string     space to operate in, by slug or UUID. Omitted, a list or bulk operation spans the organization and a single entity is named as <space>/<slug>

SEE ALSO