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
I get an error when I try to run it w/o an argument.
User: !getstatus myservice
Errbot: ok
User: !getstatus
Errbot: I couldn't parse the arguments; the following arguments are required: service_name
The correct/expected result would be for the command to pick the default value myservice for the missing argument service_name. I also tried to use a default arg value in the method signature, but it did not help.
In order to let us help you better, please fill out the following fields as best you can:
I am...
I am running...
Issue description
I have a command with an argument. I'd like it to work with a default value if the argument is omitted.
I get an error when I try to run it w/o an argument.
The correct/expected result would be for the command to pick the default value
myservice
for the missing argumentservice_name
. I also tried to use a default arg value in the method signature, but it did not help.The text was updated successfully, but these errors were encountered: