Skip to main content

Mass Component Update

mass component updateโ€‹

Update a component's name, description, or attributes

Synopsisโ€‹

Update Component

Updates a component's display name, description, or custom attributes.

Attributes are replaced wholesale rather than merged, so pass every attribute you want to keep.

Usageโ€‹

shell
mass component update <component-id> [flags]

Flagsโ€‹

  • -n, --name โ€” new display name
  • -d, --description โ€” new description
  • -a, --attributes โ€” replacement custom attributes (repeat or comma-separate)

Examplesโ€‹

shell
# Rename a component
mass component update ecomm-db --name "Primary DB"

# Rename and retag it in one call
mass component update ecomm-db --name "Primary DB" -a priority=high

# Replace the full attribute set
mass component update ecomm-db -a priority=high,cost-center=engineering
mass component update <component-id> [flags]

Optionsโ€‹

  -a, --attributes stringToString   Replacement custom attributes (e.g. -a priority=high,cost-center=engineering) (default [])
-d, --description string New description
-h, --help help for update
-n, --name string New display name

Options inherited from parent commandsโ€‹

      --profile string   Configuration profile to use (overrides MASSDRIVER_PROFILE and the active profile)

SEE ALSOโ€‹