We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Custom factory as described here is not used when creating a CommandSpec. The default one is always used instead.
See picocli.CommandLine.Model.CommandReflection#extractCommandSpec.
picocli.CommandLine.Model.CommandReflection#extractCommandSpec
The faulty line is
CommandSpec result = CommandSpec.wrapWithoutInspection(userObject);
and should be replaced by
CommandSpec result = CommandSpec.wrapWithoutInspection(userObject, factory);
The text was updated successfully, but these errors were encountered:
Thank you for raising this.
Will you be able to provide a pull request for this?
Sorry, something went wrong.
Unfortunately not. I'm currently experiencing some issues with my corporate firewall that prevent me from downloading the required resources. 😞
cf0a049
Fixed in main. Thanks for raising this!
main
If you could provide a test to verify this, that would be super helpful. 🙏 Thank you again!
No branches or pull requests
Custom factory as described here is not used when creating a CommandSpec. The default one is always used instead.
See
picocli.CommandLine.Model.CommandReflection#extractCommandSpec
.The faulty line is
and should be replaced by
The text was updated successfully, but these errors were encountered: