libbe.command.help

class libbe.command.help.Help(*args, **kwargs)

Print help for given command or topic

>>> import sys
>>> import libbe.bugdir
>>> io = libbe.command.StringInputOutput()
>>> io.stdout = sys.stdout
>>> ui = libbe.command.UserInterface(io=io)
>>> cmd = Help()
>>> ret = ui.run(cmd, args=['help'])
usage: be help [options] [TOPIC]

Options:
  -h, --help  Print a help message.

  --complete  Print a list of possible completions.


Print help for specified command/topic or list of all commands.

Methods

cleanup()
complete([argument, fragment])
complete_topic(command, argument[, fragment])
help(*args)
run([options, args])
usage()
complete_topic(command, argument, fragment=None)
name = 'help'

This Page