-
Notifications
You must be signed in to change notification settings - Fork 420
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
Access to ArgSpec and OptionSpec setter/getter fields and methods #2325
Labels
Milestone
Comments
Okay, we can do this. |
Great! I've renamed Please let me know if you need anything else! |
Can you provide a pull request with tests please? |
I've created a pull request - #2328. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nasdanika CLI operates on top of Picocli.
One of its features is generation of HTML documentation site and support
of extended documentation. Sample site without extended documentation.
Currently this functionality works with CommandSpec by accessing user object.
To extend it to ArgSpec/OptionSpec it is necessary to be able to access underlying fields/methods.
This commit introduces IReflector interface which provides access to AnnotatedElement (Method/Field).
This interface is implemented by FieldBinding and Method Binding.
I hope that this modification is in alignment with the Picocli philosophy and will be accepted! Please let me know whether any further action is required from me, e.g. creation of a pull request!
The text was updated successfully, but these errors were encountered: