Context
Full codebase integration review of dynamic completions found 14 additional completion gaps across commands that were not in the original scope.
Missing Completions
repo commands (7 gaps)
repo clone - positional <workspace/repo> arg needs ValidArgsFunction
repo clone --branch - needs CompleteBranchNames
repo delete - positional <workspace/repo> arg needs ValidArgsFunction
repo view - positional [<workspace/repo>] arg needs ValidArgsFunction
repo fork - positional [<workspace/repo>] arg needs ValidArgsFunction
repo create --project - needs project key completion
repo sync --branch - needs CompleteBranchNames
repo set-default - positional [<workspace/repo>] arg needs ValidArgsFunction
project commands (1 gap)
project view - positional <project-key> arg needs ValidArgsFunction (requires new API: ListProjects)
snippet commands (1 gap)
snippet list --role - needs StaticFlagCompletion(["owner", "contributor", "member"])
pipeline commands (2 gaps)
pipeline list --status - needs StaticFlagCompletion for pipeline states
pipeline list --branch - needs CompleteBranchNames
browse command (1 gap)
browse --branch - needs CompleteBranchNames
root command (1 gap)
- Global
--repo persistent flag on root command needs CompleteRepoNames
Notes
- Items 1-8, 10-13 are straightforward additions using existing completion functions
- Item 9 may require a new
CompleteProjectKeys function if a ListProjects API method exists
- Item 14 affects the global persistent flag and needs careful testing to ensure local
--repo flags properly shadow it
Related
This was discovered during integration review of PR #40 (dynamic shell completions).
Context
Full codebase integration review of dynamic completions found 14 additional completion gaps across commands that were not in the original scope.
Missing Completions
repo commands (7 gaps)
repo clone- positional<workspace/repo>arg needs ValidArgsFunctionrepo clone --branch- needs CompleteBranchNamesrepo delete- positional<workspace/repo>arg needs ValidArgsFunctionrepo view- positional[<workspace/repo>]arg needs ValidArgsFunctionrepo fork- positional[<workspace/repo>]arg needs ValidArgsFunctionrepo create --project- needs project key completionrepo sync --branch- needs CompleteBranchNamesrepo set-default- positional[<workspace/repo>]arg needs ValidArgsFunctionproject commands (1 gap)
project view- positional<project-key>arg needs ValidArgsFunction (requires new API: ListProjects)snippet commands (1 gap)
snippet list --role- needs StaticFlagCompletion(["owner", "contributor", "member"])pipeline commands (2 gaps)
pipeline list --status- needs StaticFlagCompletion for pipeline statespipeline list --branch- needs CompleteBranchNamesbrowse command (1 gap)
browse --branch- needs CompleteBranchNamesroot command (1 gap)
--repopersistent flag on root command needs CompleteRepoNamesNotes
CompleteProjectKeysfunction if aListProjectsAPI method exists--repoflags properly shadow itRelated
This was discovered during integration review of PR #40 (dynamic shell completions).