Skip to content

feat: add shell completions subcommand (bash + zsh)#5

Merged
sirambrosio merged 3 commits into
mainfrom
feat/cli-completions
Apr 20, 2026
Merged

feat: add shell completions subcommand (bash + zsh)#5
sirambrosio merged 3 commits into
mainfrom
feat/cli-completions

Conversation

@sirambrosio
Copy link
Copy Markdown
Contributor

Summary

  • Adds bsp completions [shell] subcommand that prints a completion script for bash (default) or zsh
  • Source with eval "$(bsp completions bash)" or eval "$(bsp completions zsh)"
  • Documents install instructions in README under a new Shell completions section
  • Adds .nvmrc pinning Node 18

Test plan

  • bsp completions bash prints a valid complete -W "..." line
  • bsp completions zsh prints a valid compdef line
  • eval "$(bsp completions bash)" — Tab-completion works in bash
  • bsp completions --help shows description

🤖 Generated with Claude Code

sirambrosio and others added 3 commits April 20, 2026 15:50
Adds a global --output flag to the bsp CLI. When set to json, commands
emit clean JSON to stdout — suitable for scripting and piping. Affected
commands: beo resolve, ieo get, ieo list. All human-readable decorators
(success, warn, info) are suppressed in json mode.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds 'bsp completions [shell]' that prints a completion script for the
top-level commands. Source with: eval "\$(bsp completions bash)" or zsh.
Documents the install step in README. Adds .nvmrc (18).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@sirambrosio sirambrosio merged commit 484d82c into main Apr 20, 2026
@sirambrosio sirambrosio deleted the feat/cli-completions branch April 20, 2026 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant