def METHOD_NAME(subcommand: str,
                   subcommand_args: List[str]=None,
                   stdin: Optional[IO]=None,
                   pwd: Union[Path, str, None]=None) -> None:
    """Run a given ArchiveBox subcommand with the given list of args"""
    subcommand_args = subcommand_args or []
    if subcommand not in meta_cmds:
        from ..config import setup_django
        cmd_requires_db = subcommand in archive_cmds
        init_pending = '--init' in subcommand_args or '--quick-init' in subcommand_args
        if cmd_requires_db:
            check_data_folder(pwd)
        setup_django(in_memory_db=subcommand in fake_db, check_db=cmd_requires_db and not init_pending)
        if cmd_requires_db:
            check_migrations()
    module = import_module('.archivebox_{}'.format(subcommand), __package__)
    module.main(args=subcommand_args, stdin=stdin, pwd=pwd)    # type: ignore