Skip to content

Config Management

Manage the bnerd configuration file.

Initialize Config

bnerd config init

Creates a new configuration file at ~/.bnerd.yaml with default values. The file is created with 0600 permissions.

Set Config Values

bnerd config set <key> <value>

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

bnerd config show

Displays the current configuration values (from config file, environment, and defaults).

Interactive Login

bnerd 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.