CLI 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_KEYcan be set to provide an API key for authentication. -
Configuration File: The CLI uses a configuration file located at
~/.cogni/config.jsonto store settings such as session cookies and user preferences. -
Interactive Setup: Run
cogni initto configure the CLI interactively. This will guide you through setting up the necessary configurations.