ReferenceCLI
Init
Init CLI command reference
goodmem init
Initialize the GoodMem system
Synopsis
Initializes the GoodMem system by creating a root user and an API key. If the system is already initialized, it will report that information.
The init command will:
- Create a root user if one doesn't exist
- Generate an API key for the root user
- Optionally save configuration to a local file for future use
goodmem init [flags]Options
--config-dir string Config directory path (defaults to ~/.goodmem)
--config-file string Config file path (defaults to ~/.goodmem/config.json)
--force Force re-initialization even if already initialized
-h, --help help for init
--insecure Skip TLS certificate validation (for self-signed certs) (default true)
--save-config Save the API key to the config file (default true)
--server string GoodMem server address (gRPC API) (default "https://localhost:9090")Options inherited from parent commands
--api-key string API key for authentication (can also be set via GOODMEM_API_KEY environment variable)SEE ALSO
- goodmem - GoodMem CLI provides command-line access to memory APIs