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
Cleo2.x break backward compatible with optional value #295
Comments
I think what you are trying to achieve is easily done with |
@neersighted Many think for you kind response :)
Clikit return string "null" for the first scenario. We also need two different values to meet our requirements. |
Returning |
Cool! Many thanks to @Secrus , that's what I want, it works for me :) |
The problem has been solved. |
Before Cleo 1.0, there was a nice feature for an optional value to a option.
It was implemented by clikit as below:
clikit.OPTION_OPTIONAL_VALUE
--option=?
This option may or may not have a value (e.g. --yell or --yell=loud)
However, from Cleo 1.0, optional value has been removed, which cause existing application hard to upgrade to the latest Cleo version.
Is there any suggestion to this issue? Many thanks.
The text was updated successfully, but these errors were encountered: