Skip to content

Configuration

All settings are read from environment variables or a .env file in the project root.

Copy .env.example to .env and uncomment the variables you want to override.

Console settings

Variable Default Description
CLI_APP_CONSOLE_WIDTH Override the output width in characters (useful in CI)
CLI_APP_CONSOLE_COLOR_SYSTEM auto Color system: auto, standard, 256, truecolor, or windows
CLI_APP_CONSOLE_NO_COLOR false Disable all color output
CLI_APP_CONSOLE_QUIET false Suppress all console output

Logging settings

Variable Default Description
CLI_APP_LOG_LEVEL INFO Root log level: DEBUG, INFO, WARNING, ERROR, CRITICAL
CLI_APP_LOG_CONSOLE_LEVEL DEBUG Minimum level printed to the console
CLI_APP_LOG_FILE_LEVEL INFO Minimum level written to the log file
CLI_APP_LOG_FILE_NAME cli-app.log Log file name (written to the project root)
CLI_APP_LOG_USE_JSON_FORMATTER false Emit log records as JSON (useful for log aggregators)