Stephen Finucane 083572e74f hooks: Update type hints to reflect reality
Despite the docstrings (and now type hints) indicating that 'get_epilog'
and 'get_parser' methods should return a 'str' and an
'argparse.ArgumentParser' instance, respectively, there are users in the
wild (like Kayobe's 'HookDispatcher' returning None for both). This
works because there is logic within cliff itself to exclude 'None'
results from the former, while the return result from the latter is
never used.

Update the docs and type hints to reflect reality.

Change-Id: If8c7deee307b61ee709b8bbefae7e93a9f651e4c
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2025-02-28 11:38:19 +00:00
2024-09-13 08:49:33 +00:00
2024-09-13 08:49:33 +00:00
2017-01-04 08:55:06 +11:00
2021-01-27 17:14:27 +00:00
2019-04-19 19:42:35 +00:00
2017-09-14 16:54:13 -05:00
2012-04-20 10:06:58 -07:00
2024-05-03 17:43:15 +01:00
2024-05-03 17:43:29 +01:00

Team and repository tags

image

cliff -- Command Line Interface Formulation Framework

cliff is a framework for building command line programs. It uses entry points to provide subcommands, output formatters, and other extensions.

Description
Command Line Interface Formulation Framework
Readme 5.7 MiB
Languages
Python 99.6%
Shell 0.4%