archivebox.cli
Submodules
archivebox.cli.archivebox_install
archivebox.cli.archivebox_server
archivebox.cli.archivebox_status
archivebox.cli.archivebox_remove
archivebox.cli.archivebox_shell
archivebox.cli.archivebox_schedule
archivebox.cli.archivebox_list
archivebox.cli.archivebox_update
archivebox.cli.archivebox_oneshot
archivebox.cli.archivebox_manage
archivebox.cli.archivebox_config
archivebox.cli.archivebox_version
archivebox.cli.archivebox_help
archivebox.cli.archivebox_init
archivebox.cli.archivebox_add
Package Contents
Classes
Functions
Block until the specified threads exit. e.g. pass thread_names=(‘default_hook_handler’,) to wait for webhooks. Useful for waiting for signal handlers, webhooks, etc. to finish running after a mgmt command completes. |
|
Run a given ArchiveBox subcommand with the given list of args |
|
Data
API
- archivebox.cli.archive_cmds[source]
(‘add’, ‘remove’, ‘update’, ‘list’, ‘status’, ‘schedule’, ‘server’, ‘shell’, ‘manage’)
- archivebox.cli.IGNORED_BG_THREADS[source]
(‘MainThread’, ‘ThreadPoolExecutor’, ‘IPythonHistorySavingThread’, ‘Scheduler’)
- archivebox.cli.wait_for_bg_threads_to_exit(thread_names: Iterable[str] = (), ignore_names: Iterable[str] = IGNORED_BG_THREADS, timeout: int = 60) int [source]
Block until the specified threads exit. e.g. pass thread_names=(‘default_hook_handler’,) to wait for webhooks. Useful for waiting for signal handlers, webhooks, etc. to finish running after a mgmt command completes.
- archivebox.cli.run_subcommand(subcommand: str, subcommand_args: List[str] | None = None, stdin: Optional[IO] = None, pwd: Union[pathlib.Path, str, None] = None) None [source]
Run a given ArchiveBox subcommand with the given list of args