def generate_tasks(config_file: str, target_dir: str) -> None: """ Generating tasks for a module based on config """ module = Module(config_file, target_dir) module.generate_task_configs() Printer.print_success("Tasks are successfully generated")
def list_ios() -> None: """ Printing valid io types """ Printer.print_success("\n".join(valid_tasks))
def init_io(type: str) -> None: """ Printing io template config """ Printer.print_success(io_factory.factory[type].sample())
def list_alerts() -> None: """ Printing valid io types """ Printer.print_success("\n".join(valid_alerts))
def init_task(type: str) -> None: """ Printing task template config """ Printer.print_success(task_factory.factory[type].sample())
def module_config() -> None: """ Printing module config file """ Printer.print_success(Module.module_config_template())
def init_pipeline() -> None: """ Printing pipeline template config """ Printer.print_success(Pipeline.sample())