draft to generate man pages

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

View file

@ -79,7 +79,7 @@ class ConsoleCLI(CLI, cmd.Cmd):
def parse(self):
self.parser = CLI.base_parser(
usage='%prog <host-pattern> [options]',
usage='%prog [<host-pattern>] [options]',
runas_opts=True,
inventory_opts=True,
connect_opts=True,
@ -87,6 +87,8 @@ class ConsoleCLI(CLI, cmd.Cmd):
vault_opts=True,
fork_opts=True,
module_opts=True,
desc="REPL console for executing Ansible tasks.",
epilog="This is not a live session/connection, each task executes in the background and returns it's results."
)
# options unique to shell