Source code for buildtest.cli.show

from rich.table import Table

from buildtest.defaults import console



































[docs]def buildtest_show(command): """Entry point for ``buildtest show`` which display a summary of how to use buildtest commands Args: command (str): Name of buildtest command specified by ``buildtest show <command>`` """ if command in ["build", "bd"]: print_build_show() elif command in ["buildspec", "bc"]: print_buildspec_show() elif command in ["config", "cg"]: print_config_show() elif command in ["inspect", "it"]: print_inspect_show() elif command in ["report", "rt"]: print_report_show() elif command == "path": print_path_show() elif command in ["history", "hy"]: print_history_show() elif command == "cdash": print_cdash_show() elif command == "schema": print_schema_show() elif command in ["stylecheck", "style"]: print_stylecheck_show() elif command in ["unittests", "test"]: print_unittests_show()