CLI Reference

Complete reference for Bootspring command-line interface.

Installation#

# Global installation npm install -g bootspring # Or use npx npx bootspring <command>

Commands#

init#

Initialize Bootspring in a project.

bootspring init [options]

Options:

OptionDescription
--yes, -ySkip prompts, use defaults
--force, -fOverwrite existing files
--template <name>Use a specific template

Example:

bootspring init bootspring init --yes bootspring init --template nextjs

serve#

Start the MCP server.

bootspring serve [options]

Options:

OptionDescription
--port <port>Server port (default: 3100)
--config <path>Config file path
--debugEnable debug logging

Example:

bootspring serve bootspring serve --port 3200 bootspring serve --debug

agents#

Manage and invoke agents.

bootspring agents <subcommand> [options]

Subcommands:

SubcommandDescription
listList all available agents
info <name>Show agent details
invoke <name>Invoke an agent

Example:

bootspring agents list bootspring agents info frontend-expert bootspring agents invoke frontend-expert --context "Create a button component"

skills#

Browse and apply skill patterns.

bootspring skills <subcommand> [options]

Subcommands:

SubcommandDescription
listList all available skills
search <query>Search skills
info <name>Show skill details
apply <name>Apply a skill

Example:

bootspring skills list bootspring skills search "api" bootspring skills apply api-endpoint --method POST --path /api/users

quality#

Run quality gates.

bootspring quality [options]

Options:

OptionDescription
--gate <name>Gate to run (pre-commit, pre-push, pre-deploy)
--fixAuto-fix issues
--files <pattern>Specific files to check

Example:

bootspring quality --gate pre-commit bootspring quality --gate pre-commit --fix bootspring quality --files "src/**/*.ts"

context#

Manage project context.

bootspring context <subcommand> [options]

Subcommands:

SubcommandDescription
generateGenerate CLAUDE.md
updateUpdate existing context
validateValidate context file

Example:

bootspring context generate bootspring context update bootspring context validate

config#

Manage configuration.

bootspring config <subcommand> [options]

Subcommands:

SubcommandDescription
showShow current configuration
validateValidate configuration
set <key> <value>Set a configuration value

Example:

bootspring config show bootspring config validate bootspring config set quality.thresholds.coverage 90

upgrade#

Check for and install updates.

bootspring upgrade [options]

Options:

OptionDescription
--checkCheck for updates only
--yesAuto-confirm upgrade

Example:

bootspring upgrade --check bootspring upgrade

help#

Display help information.

bootspring help [command] bootspring <command> --help

Global Options#

These options work with all commands:

OptionDescription
--version, -vShow version
--help, -hShow help
--quiet, -qSuppress output
--verboseVerbose output
--no-colorDisable colors

Exit Codes#

CodeDescription
0Success
1General error
2Invalid arguments
3Configuration error
4Quality gate failed

Environment Variables#

VariableDescription
BOOTSPRING_API_KEYAPI key for premium features
BOOTSPRING_DEBUGEnable debug mode
BOOTSPRING_NO_COLORDisable colored output