Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
@cmd_option(common_options)
def init(**kwargs):
pass
@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)
@cmd_option(common_options)
@cmd_option(format_options)
def format(number, abs_deviation, **kwargs):
temci__format(number, abs_deviation, **kwargs)
@cmd_option(options)
def _func(*args, **kwargs):
globals()["temci__" + driver](*args, **kwargs)
@cmd_option(common_options)
def version(**kwargs):
print(temci.scripts.version.version)
@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)
@cmd_option(misc_commands["short"]["sub_commands"]["shell"])
def shell(command, **kwargs):
temci__short__shell(" ".join(command) if len(command) > 0 else "sh", **kwargs)
@cmd_option(CmdOptionList(common_options, build_options))
def build(build_file: str, **kwargs):
temci__build(build_file, **kwargs)
@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)
@cmd_option(misc_commands["short"]["sub_commands"]["exec"])
def exec(commands, **kwargs):
temci__short__exec(list(commands), **kwargs)