Config Management¶
Manage the bnerd configuration file.
Initialize Config¶
Creates a new configuration file at ~/.bnerd.yaml with default values. The file is created with 0600 permissions.
Set Config Values¶
Settable Keys¶
| Key | Description |
|---|---|
api-url | CloudAPI base URL |
token | Bearer token for authentication |
org-id | Organization ID |
project-id | Project ID |
Show Current Config¶
Displays the current configuration values (from config file, environment, and defaults).
Interactive Login¶
Interactive authentication wizard that prompts for your API URL, credentials, and organization. Saves the resulting token and org-id to the config file.
Examples¶
# Initialize a new config file
bnerd config init
# Set up authentication
bnerd config set api-url https://api.bnerd.net
bnerd config set token YOUR_TOKEN
bnerd config set org-id YOUR_ORG_ID
# Or use the interactive login
bnerd login
# Verify your configuration
bnerd config show
Config File Reference¶
See Configuration File for the complete schema and all available keys.