How to use the temci.utils.click_helper.cmd_option function in temci

To help you get started, we’ve selected a few temci examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github parttimenerd / temci / temci / scripts / cli.py View on Github external
@cmd_option(common_options)
def init(**kwargs):
    pass
github parttimenerd / temci / temci / scripts / cli.py View on Github external
@cmd_option(common_options)
@click.argument('file', type=click.Path(exists=False), default="run_config.yaml")
def run_config(file, **kwargs):
    temci__init__run_config(file, **kwargs)
github parttimenerd / temci / temci / scripts / cli.py View on Github external
@cmd_option(common_options)
@cmd_option(format_options)
def format(number, abs_deviation, **kwargs):
    temci__format(number, abs_deviation, **kwargs)
github parttimenerd / temci / temci / scripts / cli.py View on Github external
    @cmd_option(options)
    def _func(*args, **kwargs):
        globals()["temci__" + driver](*args, **kwargs)
github parttimenerd / temci / temci / scripts / cli.py View on Github external
@cmd_option(common_options)
def version(**kwargs):
    print(temci.scripts.version.version)
github parttimenerd / temci / temci / scripts / cli.py View on Github external
@cmd_option(misc_commands["init"]["sub_commands"]["run_config"])
@cmd_option(common_options)
@click.argument('file', type=click.Path(exists=False), default="run_config.yaml")
def run_config(file, **kwargs):
    temci__init__run_config(file, **kwargs)
github parttimenerd / temci / temci / scripts / cli.py View on Github external
@cmd_option(misc_commands["short"]["sub_commands"]["shell"])
def shell(command, **kwargs):
    temci__short__shell(" ".join(command) if len(command) > 0 else "sh", **kwargs)
github parttimenerd / temci / temci / scripts / cli.py View on Github external
@cmd_option(CmdOptionList(common_options, build_options))
def build(build_file: str, **kwargs):
    temci__build(build_file, **kwargs)
github parttimenerd / temci / temci / scripts / cli.py View on Github external
@cmd_option(misc_commands["init"]["sub_commands"]["build_config"])
@cmd_option(common_options)
@click.argument('file', type=click.Path(exists=False), default="build_config.yaml")
def build_config(file, **kwargs):
    temci__init__build_config(file, **kwargs)
github parttimenerd / temci / temci / scripts / cli.py View on Github external
@cmd_option(misc_commands["short"]["sub_commands"]["exec"])
def exec(commands, **kwargs):
    temci__short__exec(list(commands), **kwargs)