Package tockloader.main Documentation

Main command line interface for Tockloader.

Each tockloader command is mapped to a function which calls the correct tockloader class function. This file also handles discovering and reading in TAB files.

check_and_run_make


def check_and_run_make(args)

Checks for a Makefile, and it it exists runs make.

collect_tabs


def collect_tabs(args)

Load in Tock Application Bundle (TAB) files. If none are specified, this searches for them in subfolders.

Also allow downloading apps by name from a server.

command_disable_app


def command_disable_app(args)

command_dump_flash_page


def command_dump_flash_page(args)

command_enable_app


def command_enable_app(args)

command_erase_apps


def command_erase_apps(args)

command_flash


def command_flash(args)

command_info


def command_info(args)

command_inspect_tab


def command_inspect_tab(args)

command_install


def command_install(args)

command_list


def command_list(args)

command_list_attributes


def command_list_attributes(args)

command_list_known_boards


def command_list_known_boards(args)

command_listen


def command_listen(args)

command_read


def command_read(args)

command_remove_attribute


def command_remove_attribute(args)

command_set_attribute


def command_set_attribute(args)

command_sticky_app


def command_sticky_app(args)

command_uninstall


def command_uninstall(args)

command_unsticky_app


def command_unsticky_app(args)

command_update


def command_update(args)

main


def main()

Read in command line arguments and call the correct command function.