ReferenceCLIProfile
Profile
Profile CLI command reference
goodmem profile
Manage GoodMem CLI profiles
Synopsis
Manage CLI profiles for connecting to different GoodMem servers.
Profiles store gRPC server URLs (--url) and API keys, allowing you to easily switch between different GoodMem instances (e.g., local development, staging, production).
Profile selection: GOODMEM_PROFILE env var selects a profile by name; otherwise current_profile from ~/.goodmem/config.toml is used.
Per-field resolution order (for server URL and API key):
- CLI flags (--api-key) or environment variables
- GOODMEM_SERVER_URL / GOODMEM_API_KEY environment variables
- Value from the selected profile
- Default (https://localhost:9090 / empty API key)
goodmem profile [flags]Options
-h, --help help for profileOptions 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)SEE ALSO
- goodmem - GoodMem CLI provides command-line access to memory APIs
- goodmem profile create - Create a new profile
- goodmem profile current - Show current profile information
- goodmem profile delete - Delete a profile
- goodmem profile list - List all profiles
- goodmem profile switch - Switch the current active profile
- goodmem profile update - Update an existing profile