-
Notifications
You must be signed in to change notification settings - Fork 317
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support passing a negative number as an argument #31
Comments
We don't have a workaround for this right now. For an option, you can specify the |
This seems a common issue with CLI apps. |
@fizker That's not quite true.
|
@weissi I think you are confusing values for arguments with arguments. In your example, |
@fizker oh shoot, you're right. Sorry I thought this issue is about allowing negative numbers as values for arguments (like |
@weissi No problem, it happens to everyone :). You are correct though in that
|
Imagine a command like this
you can run
and it works. but running
fails with
Error: Missing expected argument '<number>'
which makes sense.I would have expected being able to pass the argument as
"-5"
but that doesn't work either.Any advice on how to handle this?
The text was updated successfully, but these errors were encountered: