openaps.cli package

Submodules

openaps.cli.commandmapapp module

class openaps.cli.commandmapapp.CommandMapApp(parent)

Bases: object

class Subcommand(method=None, parent=None)

Bases: object

configure_parser(parser)
configure_subparser(subparser)
formatter_class

alias of RawDescriptionHelpFormatter

get_description()
get_epilog()
get_help()
setup_application()

Allows us to use method, injected as dependency earlier to set up argparser before autocompletion/running the app.

commands = {}
configure_commands(parser)
get(name)
get_commands()
get_description()
get_dest()
get_help()
get_metavar()
get_title()
makeSubcommand(ctx)
metavar = None
selected(args)

openaps.cli.helpers module

openaps.cli.helpers.format_ini(report)
openaps.cli.helpers.format_json(report)
openaps.cli.helpers.format_url(report)
openaps.cli.helpers.install_show_arguments(parser)

openaps.cli.subcommand module

class openaps.cli.subcommand.Subcommand(method=None, parent=None)

Bases: object

configure_parser(parser)
configure_subparser(subparser)
formatter_class

alias of RawDescriptionHelpFormatter

get_description()
get_epilog()
get_help()
setup_application()

Allows us to use method, injected as dependency earlier to set up argparser before autocompletion/running the app.

Module contents

class openaps.cli.Base(args)

Bases: object

always_complete_options = True
configure_parser(parser)
epilog()
get_described_parser()
prep_parser()
prolog()
run(args)
class openaps.cli.ConfigApp(args)

Bases: openaps.cli.Base

create_git_commit()
epilog()
git_repo()
prolog()
read_config()