Commit Graph
4 Commits
Author SHA1 Message Date
Willie 0becff010e feat: add local commit command 2026-05-27 15:10:00 +08:00
Willie d8007dd750 refactor: simplify completion with struct map, fix nushell gaps
- Replace three switch statements with a single shells map[string]shellDef
- Add missing --add-agent-{include,exclude} and --remove-agent-{include,exclude}
  flags to nushell target completion
- Fix nushell audit using 'target?' instead of 'subcommand?'
- Replace raw fmt.Println with ui.Info in post-install hints
- Use testutil assertion helpers in integration tests
- Verify --install actually writes the file to disk
2026-05-08 16:06:14 +08:00
Willie 79cb6c2410 feat: add powershell/nushell completion + fix bash fallback (#148)
- Add PowerShell and Nushell completion scripts
- Fix bash completion when bash-completion package is not installed
  (fallback from _init_completion to manual COMP_WORDS parsing)
2026-05-08 15:54:16 +08:00
Willie 829851f420 feat: add shell completion command for bash/zsh/fish (#148)
Add 'skillshare completion <shell>' command that generates shell
completion scripts. Supports --install flag to auto-write the script
to the correct platform path.

Covers all commands, subcommands, and per-command flags for bash,
zsh, and fish shells.
2026-05-08 15:49:33 +08:00