-
Notifications
You must be signed in to change notification settings - Fork 8k
Closed
Labels
docsenhancementa request to improve CLIa request to improve CLIhelp wantedContributions welcomeContributions welcome
Description
Describe the bug
The bug is that Whenever I try to create the alias of deleting repos, it doesnt let me do it
Instead gives me an error
gh --version
gh version 1.12.0 (2021-06-29)
https://github.com/cli/cli/releases/tag/v1.12.0
Steps to reproduce the behavior
- Input:
gh alias set delete 'api -X DELETE repos/$1' - Error:
unknown shorthand flag: 'X' in -X
Usage: gh alias set <alias> <expansion> [flags]
Flags:
-s, --shell Declare an alias to be passed through a shell interpreter
Expected vs actual behavior
Expected: to create alias
Behaviour: Creating Error
Logs
here '>>' is just to show command line interface
>>gh alias set delete 'api -X DELETE repos/$1'
unknown shorthand flag: 'X' in -X
Usage: gh alias set <alias> <expansion> [flags]
Flags:
-s, --shell Declare an alias to be passed through a shell interpreter
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
docsenhancementa request to improve CLIa request to improve CLIhelp wantedContributions welcomeContributions welcome