-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
single command applications with arguments #41
Comments
done some research, seems it's possible to solve this, but seems the secotnd argument to for older versions it's possible too, but a bit more complex. neither of these is documented in http://mnapoli.fr/silly/docs/command-definition.html and doesn't mention problem with non-option arguments |
Good point. I'd like to avoid the workaround for Symfony < 3.2 though. And upgrading to 3.2 is maybe a bit early? |
i think documenting and proposing application to use 3.2 is sufficient. this library shouldn't require newer symfony (that is not base functionality). and pointing to documentation how to use in older version. yeah probably just putting my comment into docs: |
👍 then feel free to send a pull request to add that to the docs that would be perfect! |
while single command applications are possible with
setDefaultCommand
:http://mnapoli.fr/silly/docs/command-definition.html
implemented (suggested) via: #30
it doesn't play well when you want to use arguments (not options), as that would require that you specify command name before first argument.
The text was updated successfully, but these errors were encountered: