Skip to content

Commit

Permalink
Updating docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kmvanbrunt committed Sep 1, 2021
1 parent 64fdc44 commit ceacf22
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd2/argparse_custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -966,6 +966,8 @@ def _ArgumentParser_set_ap_completer_type(self: argparse.ArgumentParser, ap_comp
This function is added by cmd2 as a method called ``set_ap_completer_type()`` to ``argparse.ArgumentParser`` class.
To call: ``parser.set_ap_completer_type(ap_completer_type)``
:param self: ArgumentParser being edited
:param ap_completer_type: the custom ArgparseCompleter-based class to use when tab completing arguments for this parser
"""
Expand Down
4 changes: 4 additions & 0 deletions docs/api/argparse_custom.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ Added Accessor Methods

.. autofunction:: _action_set_suppress_tab_hint

.. autofunction:: _ArgumentParser_get_ap_completer_type

.. autofunction:: _ArgumentParser_set_ap_completer_type


Subcommand Removal
------------------
Expand Down

0 comments on commit ceacf22

Please sign in to comment.