Skip to content

feat(cli): QoL bundle — shell completion, --quiet, examples, confirmations, aliases#286

Merged
cdot65 merged 1 commit into
mainfrom
cdot65/feat/qol-bundle
Jul 7, 2026
Merged

feat(cli): QoL bundle — shell completion, --quiet, examples, confirmations, aliases#286
cdot65 merged 1 commit into
mainfrom
cdot65/feat/qol-bundle

Conversation

@cdot65

@cdot65 cdot65 commented Jul 7, 2026

Copy link
Copy Markdown
Owner

Summary

Five QoL features in one bundle per issue #274.

Changes

  • airs completion bash|zsh|fish — static scripts generated from the command tree (subcommands, aliases, visible flags; deprecated flags excluded); bash -n / zsh -n validated
  • Global --quiet — suppresses status/header/section/info/dim; data and errors still print; JSON untouched
  • Help examples on 10 top-traffic commands via .addHelpText
  • Confirmation prompts on destructive ops (@inquirer/prompts — dead dep now in use): TTY confirm with default No, --force bypass, non-TTY without --force exits 2; cleanup keeps its safe preview flow
  • ls/rm aliases on 19 list + 13 delete subcommands via recursive walker

Testing

  • 46 new tests (TDD, red-first, injected prompt/isTTY fakes); 797/797; all gates + build clean
  • Smokes verified: completion scripts parse, alias help works, --quiet JSON pure, non-TTY delete exit 2 with refusal message

Checklist

  • TDD
  • Gates green
  • Docs + changeset (minor)

Closes #274

@cdot65 cdot65 merged commit 6a1d2f3 into main Jul 7, 2026
4 checks passed
@cdot65 cdot65 deleted the cdot65/feat/qol-bundle branch July 7, 2026 02:41
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.

feat(cli): QoL — shell completion, --quiet, help examples, confirmation prompts

1 participant