mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 04:40:22 -07:00
draft to generate man pages
This commit is contained in:
parent
7b197d823e
commit
b4c47ebf68
8 changed files with 170 additions and 14 deletions
|
@ -50,9 +50,10 @@ class DocCLI(CLI):
|
|||
def parse(self):
|
||||
|
||||
self.parser = CLI.base_parser(
|
||||
usage='usage: %prog [options] [plugin ...]',
|
||||
epilog='Show Ansible plugin documentation',
|
||||
usage='usage: %prog [options] [plugin]',
|
||||
module_opts=True,
|
||||
desc="plugin documentation tool",
|
||||
epilog="See man pages for Ansbile CLI options or website for tutorials https://docs.ansible.com"
|
||||
)
|
||||
|
||||
self.parser.add_option("-l", "--list", action="store_true", default=False, dest='list_dir',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue