(subcommand)
| 33 | copy_files_recursively(DataFlowPath.get_dataflow_example_dir(), target_dir) |
| 34 | |
| 35 | def cli_init(subcommand): |
| 36 | print(f'{Fore.GREEN}Initializing in current working directory...{Style.RESET_ALL}') |
| 37 | |
| 38 | # base initialize that only contain default scripts |
| 39 | if subcommand == "base": |
| 40 | _copy_pipelines() |
| 41 | _copy_examples() |
| 42 | _copy_playground() |
| 43 | # if subcommand == "model_zoo": |
| 44 | # _copy_train_scripts() |
| 45 | # _copy_demo_runs() |
| 46 | # _copy_demo_configs() |
| 47 | # _copy_dataset_json() |
| 48 | # # base initialize that only contain default scripts |
| 49 | # if subcommand == "backbone": |
| 50 | # _copy_train_scripts() |
| 51 | # _copy_demo_runs() |
| 52 | # _copy_demo_configs() |
| 53 | # _copy_dataset_json() |
| 54 | # print(f'{Fore.GREEN}Successfully initialized IMDLBenCo scripts.{Style.RESET_ALL}') |
no test coverage detected