dyne / gh-cd

🚀 cd || clone || repo create
2 stars 0 forks source link

ask confirmation when creating a new repo #4

Open jaromil opened 1 year ago

jaromil commented 1 year ago

when a non-existant command like 'help' or '-h' it just goes forward creating a new repo with that name

image

this tool should at least ask confirmation before doing that.

jaromil commented 1 year ago

Related to #3

albertolerda commented 1 year ago

Currently, there is a config option that tells whether a repo should be created when it doesn't exist on the remote server https://github.com/dyne/gh-cd/blob/5871b8d66850023bc16402081aec9355b1db3614/README.md?plain=1#L16. I can also add an interactive prompt in case create-repo = false.

albertolerda commented 1 year ago

Added interactive prompt in 7e61744