Run a given ArchiveBox subcommand with the given list of args
(subcommand: str,
subcommand_args: Optional[List[str]],
stdin: Optional[IO]=None,
out_dir: Path=OUTPUT_DIR)
| 292 | |
| 293 | @enforce_types |
| 294 | def run(subcommand: str, |
| 295 | subcommand_args: Optional[List[str]], |
| 296 | stdin: Optional[IO]=None, |
| 297 | out_dir: Path=OUTPUT_DIR) -> None: |
| 298 | """Run a given ArchiveBox subcommand with the given list of args""" |
| 299 | run_subcommand( |
| 300 | subcommand=subcommand, |
| 301 | subcommand_args=subcommand_args, |
| 302 | stdin=stdin, |
| 303 | pwd=out_dir, |
| 304 | ) |
| 305 | |
| 306 | |
| 307 | @enforce_types |
no test coverage detected