Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cli/bash/commands/basectl/tests/completions.bats
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ EOF
[[ "$output" == *"ci_check_options=--format --manifest --profile"* ]]
[[ "$output" == *"gh_areas=issue pr branch worktree project"* ]]
[[ "$output" == *"gh_project_commands=doctor configure issue"* ]]
[[ "$output" == *"gh_project_configure_options=--project --owner --schema --initiative-option --repo --replace-project --dry-run"* ]]
[[ "$output" == *"gh_project_issue_set_fields_options=--repo --project --owner --status --priority --area --initiative --size --dry-run"* ]]
[[ "$output" == *"gh_project_configure_options=--project --owner --schema --config --copy-fields-from --initiative-option --repo --replace-project --dry-run"* ]]
[[ "$output" == *"gh_project_issue_set_fields_options=--repo --project --owner --config --status --priority --area --initiative --size --dry-run"* ]]
[[ "$output" == *"gh_worktree_commands=prune"* ]]
[[ "$output" == *"gh_worktree_prune_options=--dry-run --yes"* ]]
}
Expand Down
4 changes: 2 additions & 2 deletions lib/shell/completions/basectl_completion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -335,13 +335,13 @@ _base_basectl_completion() {
_base_basectl_completion_compgen "--project --owner --schema -h --help" "$cur"
;;
configure)
_base_basectl_completion_compgen "--project --owner --schema --initiative-option --repo --replace-project --dry-run -h --help" "$cur"
_base_basectl_completion_compgen "--project --owner --schema --config --copy-fields-from --initiative-option --repo --replace-project --dry-run -h --help" "$cur"
;;
issue)
if ((COMP_CWORD == 4)); then
_base_basectl_completion_compgen "set-fields" "$cur"
else
_base_basectl_completion_compgen "--repo --project --owner --status --priority --area --initiative --size --dry-run -h --help" "$cur"
_base_basectl_completion_compgen "--repo --project --owner --config --status --priority --area --initiative --size --dry-run -h --help" "$cur"
fi
;;
esac
Expand Down
Loading