mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-19 02:17:09 +00:00
The five completion scripts are hand-written and had drifted from the CLI's argument parsing. Some entries sent users down paths that no longer exist: `backup restore` backed up a target named "restore", `extras mode` only printed help, `install --source` failed as an unknown option, and `hub index --audit-skills` was rejected because the flag is `--audit`. pull, push and commit were offered -p/-g, which they ignore. Those stale entries are gone, and the scripts now complete: - backup files list/show/restore, audit rules disable/enable/severity/ reset/init, ui start/stop, mcp edit (bash, PowerShell, Nushell) - sync scopes and the `agents` kind keyword where commands accept it - flags the CLI parses but no shell offered, among them sync --quiet, status --json, new/search flags, enable/disable --kind, backup --delete/--all, restore/trash --all, ui --base-path/--clear-cache/--app, hub add --label, hub default --reset, mcp --disabled/--keep-files, analyze --verbose/--filter, init --git-root/--visible/--config and the extras subcommand and `extras <name>` flags - fish: the target filter flags, --agent and --config-dir, and restore PowerShell also stops swallowing a flag typed as the second word for commands that have a subcommand list, so adding list, sync and the other kind-aware commands to that table keeps their flag completion. The completion reference page in every locale listed the stale subcommands; it now lists the current ones.