gitfit icon indicating copy to clipboard operation
gitfit copied to clipboard

Are you sure? (Y/n) - Option Y default not working

Open ronaldaraujo opened this issue 7 years ago • 1 comments

Testing commands start, finish and publish I'm asking "Are you sure? (Y/n)". Pressing Enter to run the default Y, nothing happens. I have to type Y to work.

I'm using the fish terminal.

ronaldaraujo avatar Jan 24 '19 12:01 ronaldaraujo

@ronaldaraujo Y is not the default option because I believe the user should be aware of the action, so he needs to confirm by typing Y.

But I'm really not sure if it would be that best way. So we could look at another CLI that has similar behaviour, so we can light our thoughts to improve the behaviour of the default command.

Do you know any examples?

cjpatoilo avatar Jul 04 '19 10:07 cjpatoilo