Skip to main contentCLI Guide
Configuration
The Cogni+ CLI can be configured using environment variables and configuration files. Below are some key configuration options:
-
Environment Variables: Override default settings by setting environment variables. For example,
COGNI_API_KEY can be set to provide an API key for authentication.
-
Configuration File: The CLI uses a configuration file located at
~/.cogni/config.json to store settings such as session cookies and user preferences.
-
Interactive Setup: Run
cogni init to configure the CLI interactively. This will guide you through setting up the necessary configurations.