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 function parameter documentation as help, when adding it to a ControlParser #3

Open
daniil-berg opened this issue Oct 14, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@daniil-berg
Copy link
Owner

Right now the ControlParser.add_function_args method just picks apart the function signature and adds the type annotation as the help string to the parser argument.

If we could parse the docstring, we might be able to add also the documentation pertaining to each individual parameter, thus enhancing the help output for the function added to the parser.

@daniil-berg daniil-berg added the enhancement New feature or request label Oct 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant