Config Commands

Manage Bootspring configuration from the command line.

Synopsis#

bootspring config <command> [options]

Commands#

CommandDescription
showShow current configuration
set <key> <value>Set a configuration value
get <key>Get a configuration value
validateValidate configuration file
resetReset to defaults

bootspring config show#

Display current configuration.

Usage#

bootspring config show [options]

Options#

OptionDescription
--jsonOutput as JSON
--section <name>Show specific section

Example#

bootspring config show

Output:

Bootspring Configuration ═══════════════════════════════════════════════════════════════════ Project ─────── Name: my-awesome-app Type: saas Description: AI-powered project management Stack ───── Frontend: react, nextjs, tailwindcss Backend: nodejs Database: postgresql, prisma Auth: clerk Payments: stripe Agents ────── Enabled: all Custom Instructions: frontend-expert: Use TypeScript strict mode, prefer server components Quality ─────── Pre-commit: lint, format, types Pre-push: tests (80% coverage), build Pre-deploy: e2e, security, a11y Paths ───── Context: CLAUDE.md Todo: todo.md PRD: tasks/prd.json ─────────────────────────────────────────────────────────────────── Config file: bootspring.config.js
# Show as JSON bootspring config show --json # Show specific section bootspring config show --section quality

bootspring config set#

Set a configuration value.

Usage#

bootspring config set <key> <value>

Examples#

1# Set project name 2bootspring config set project.name "my-new-app" 3 4# Set quality threshold 5bootspring config set quality.prePush.coverage 85 6 7# Enable specific agents 8bootspring config set agents.enabled "frontend-expert,backend-expert,database-expert" 9 10# Set path 11bootspring config set paths.todo "docs/tasks.md"

Output:

Set project.name = "my-new-app" Updated bootspring.config.js

bootspring config get#

Get a specific configuration value.

Usage#

bootspring config get <key>

Examples#

1bootspring config get project.name 2# Output: my-awesome-app 3 4bootspring config get quality.prePush.coverage 5# Output: 80 6 7bootspring config get agents.enabled 8# Output: all

bootspring config validate#

Validate the configuration file.

Usage#

bootspring config validate [options]

Options#

OptionDescription
--fixAuto-fix common issues

Example#

bootspring config validate

Output (valid):

Configuration Validation ═══════════════════════════════════════════════════════════════════ ✓ Config file exists ✓ Valid JavaScript syntax ✓ Required fields present ✓ Stack configuration valid ✓ Agent names valid ✓ Quality settings valid ✓ Paths valid ─────────────────────────────────────────────────────────────────── Configuration is valid

Output (invalid):

Configuration Validation ═══════════════════════════════════════════════════════════════════ ✓ Config file exists ✓ Valid JavaScript syntax ✗ Invalid agent name: 'frontent-expert' (did you mean 'frontend-expert'?) ✗ Quality coverage must be between 0-100 (got: 150) ─────────────────────────────────────────────────────────────────── 2 errors found Fix with: bootspring config validate --fix

bootspring config reset#

Reset configuration to defaults.

Usage#

bootspring config reset [options]

Options#

OptionDescription
--section <name>Reset specific section only
--forceDon't ask for confirmation

Example#

bootspring config reset

Output:

? Reset all configuration to defaults? (y/N) y Configuration reset to defaults Regenerating CLAUDE.md... Done
# Reset specific section bootspring config reset --section quality # Reset without confirmation bootspring config reset --force

Configuration File#

Location#

Bootspring looks for configuration in:

  1. bootspring.config.js (recommended)
  2. bootspring.config.mjs
  3. bootspring.config.cjs

Structure#

1// bootspring.config.js 2module.exports = { 3 // Project information 4 project: { 5 name: 'my-app', 6 type: 'saas', 7 description: 'My awesome application', 8 }, 9 10 // Tech stack 11 stack: { 12 frontend: ['react', 'nextjs', 'tailwindcss'], 13 backend: ['nodejs'], 14 database: ['postgresql', 'prisma'], 15 auth: ['clerk'], 16 payments: ['stripe'], 17 testing: ['vitest', 'playwright'], 18 }, 19 20 // Agent configuration 21 agents: { 22 enabled: 'all', // or array of names 23 customInstructions: { 24 'frontend-expert': 'Use TypeScript strict mode', 25 }, 26 }, 27 28 // Skill preferences 29 skills: { 30 preferences: { 31 auth: 'clerk', 32 payments: 'stripe', 33 }, 34 }, 35 36 // Quality gates 37 quality: { 38 preCommit: { 39 lint: true, 40 format: true, 41 types: true, 42 }, 43 prePush: { 44 tests: true, 45 coverage: 80, 46 }, 47 preDeploy: { 48 e2e: true, 49 security: true, 50 }, 51 }, 52 53 // Context generation 54 context: { 55 exclude: ['**/node_modules/**', '**/dist/**'], 56 customSections: [ 57 { 58 title: 'Team Guidelines', 59 content: 'Our coding standards...', 60 }, 61 ], 62 }, 63 64 // File paths 65 paths: { 66 context: 'CLAUDE.md', 67 todo: 'todo.md', 68 prd: 'tasks/prd.json', 69 }, 70 71 // Dashboard settings 72 dashboard: { 73 port: 3456, 74 }, 75};

Environment Variables#

Some settings can be set via environment variables:

VariableDescription
BOOTSPRING_API_KEYAPI key
BOOTSPRING_CONFIGConfig file path
BOOTSPRING_DEBUGEnable debug mode
# Set API key export BOOTSPRING_API_KEY=bsk_your_key # Use custom config file export BOOTSPRING_CONFIG=./config/bootspring.js