Skip to content

Add function parameter documentation as help, when adding it to a ControlParser #3

Description

@daniil-berg

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions