GoodMem
ReferenceCLI

Space Update

Space Update CLI command reference

goodmem space update

Update a space

Synopsis

Update a space in the GoodMem service.

goodmem space update [space-id] [flags]

Examples

  # Update a space name
  goodmem space update 123e4567-e89b-12d3-a456-426614174000 --name "New Space Name"

  # Replace all labels with new ones
  goodmem space update 123e4567-e89b-12d3-a456-426614174000 --label key1=value1 --label key2=value2 --label-strategy replace

  # Merge new labels with existing ones
  goodmem space update 123e4567-e89b-12d3-a456-426614174000 --label key1=newvalue --label-strategy merge

  # Update public read setting
  goodmem space update 123e4567-e89b-12d3-a456-426614174000 --public-read=true

Options

  -h, --help                    help for update
  -l, --label strings           New labels in key=value format (can be specified multiple times)
      --label-strategy string   Label update strategy: 'replace' to overwrite all existing labels, 'merge' to add to existing labels (default "replace")
      --name string             New name for the space
      --public-read             New public-read setting for the space

Options inherited from parent commands

      --api-key string   API key for authentication (can also be set via GOODMEM_API_KEY environment variable)
      --server string    GoodMem server address (gRPC API) (default "https://localhost:9090")

SEE ALSO