You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ drone user ls
frebib
$ drone user add
Successfully added user
$ drone user ls
frebib
It seems to be possible that when executing the above commands, a user with an empty name is created. It doesn't however seem possible to delete that user in the same manner. In executing this command I was expecting the implicit --help to show up, but instead I got this.
Realistically this should be guarded against on the server side, hence why I'm opening this issue here, but I suppose the cli should also prevent the user from doing this. In this situation (and this applies to all drone-cli subcommands) I would expect the cli to show usage for the subcommand and exit 1 when a non-optional argument is not provided such as the username in this case.
The text was updated successfully, but these errors were encountered:
It seems to be possible that when executing the above commands, a user with an empty name is created. It doesn't however seem possible to delete that user in the same manner. In executing this command I was expecting the implicit
--help
to show up, but instead I got this.Realistically this should be guarded against on the server side, hence why I'm opening this issue here, but I suppose the cli should also prevent the user from doing this. In this situation (and this applies to all drone-cli subcommands) I would expect the cli to show usage for the subcommand and exit
1
when a non-optional argument is not provided such as theusername
in this case.The text was updated successfully, but these errors were encountered: