Launch a `dvc daemon` command in a detached process. Args: args (list): list of arguments to append to `dvc daemon` command.
(args: list[str])
| 133 | |
| 134 | |
| 135 | def daemon(args: list[str]) -> None: |
| 136 | """Launch a `dvc daemon` command in a detached process. |
| 137 | |
| 138 | Args: |
| 139 | args (list): list of arguments to append to `dvc daemon` command. |
| 140 | """ |
| 141 | if flag := _map_log_level_to_flag(): |
| 142 | args = [*args, flag] |
| 143 | daemonize(["daemon", *args]) |
| 144 | |
| 145 | |
| 146 | def _spawn( |
no test coverage detected