draft to generate man pages

This commit is contained in:
Brian Coca 2017-03-22 16:38:49 -04:00 committed by Brian Coca
commit b4c47ebf68
8 changed files with 170 additions and 14 deletions

View file

@ -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',