bundle.cli

Attributes

Functions

main()

version()

The Bundle Package version

add_cli_submodule(→ None)

Dynamically imports a subcommand and adds it to the CLI group.

Module Contents

bundle.cli.log
bundle.cli.banner = Multiline-String
Show Value
"""
╔═════════════════════════════════╗
║       T H E   B U N D L E       ║
╚═════════════════════════════════╝
"""
async bundle.cli.main()
async bundle.cli.version()

The Bundle Package version

bundle.cli.add_cli_submodule(submodule_name: str) None[source]

Dynamically imports a subcommand and adds it to the CLI group.

Assumes each submodule has a cli module and within that module an attribute with the same name as the submodule, e.g. bundle.scraper.cli has scraper.

Parameters:

submodule_name (str) – The name of the submodule to import.