Skip to content
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

Add more complete support for the CLI syntax #2

Closed
boenrobot opened this issue Oct 1, 2011 · 1 comment
Closed

Add more complete support for the CLI syntax #2

boenrobot opened this issue Oct 1, 2011 · 1 comment
Assignees

Comments

@boenrobot
Copy link
Member

Right now, the constructor of a Request object is equivalent to using setCommand().

Having support for CLI arguments would make work with this class magnitudes easier.

One limitation that I don't see how to work around is the nameless arguments... commands would have to be explicit, like "/ping address=192.168.0.1" or something, but that's a minor issue IMHO.

@ghost ghost assigned boenrobot Oct 2, 2011
@boenrobot
Copy link
Member Author

Added such support to the upcoming release. Additional caveat is that the first argument MUST have a value, even if it's an empty one, although omitting the value is otherwise supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant