GoodMem
ReferenceCLIProfile

Profile Update

Profile Update CLI command reference

goodmem profile update

Update an existing profile

Synopsis

Update an existing CLI profile's server URL and/or API key.

At least one of --url, --api-key, or --clear-api-key must be provided. Use --clear-api-key to remove the API key from the profile.

goodmem profile update [profile-name] [flags]

Examples

  # Update the server URL for a profile
  goodmem profile update local --url https://new-server:9090

  # Update the API key for a profile
  goodmem profile update production --api-key new-key-xyz

  # Update both URL and API key
  goodmem profile update staging --url https://staging:9090 --api-key staging-key

  # Clear the API key from a profile
  goodmem profile update local --clear-api-key

Options

      --api-key string   New API key
      --clear-api-key    Clear the API key
  -h, --help             help for update
      --url string       New GoodMem gRPC server URL (e.g., https://localhost:9090)

Options inherited from parent commands

      --server string   GoodMem server address (gRPC API)

SEE ALSO