-
Notifications
You must be signed in to change notification settings - Fork 8k
Closed
Labels
bugSomething isn't workingSomething isn't workingpriority-1Affects a large population and inhibits workAffects a large population and inhibits work
Description
Describe the bug
The repo create command claims that --confirm skips the confirmation prompt but the addition of gitignore and LICENSE templates in 1.12.0 does not adhere to this behaviour.
This breaks existing scripts I have in place by prompting for user input.
There is no documented way to set -g or -l to not add templates.
gh version 1.12.1 (2021-07-03)
https://github.com/cli/cli/releases/tag/v1.12.1
Steps to reproduce the behavior
gh repo create "bishax/foo" --public --confirm
yields
? Would you like to add a .gitignore? (y/N)
Expected vs actual behavior
I expect that my script involving this command runs without prompting for user input.
The actual behaviour is that it prompts for user input (to provide a gitignore and LICENSE template), impeding the script.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingpriority-1Affects a large population and inhibits workAffects a large population and inhibits work