Skip to content

scripts

Start the command line program.

Classes⚓︎

Functions⚓︎

start ⚓︎

start()

Run the customized Invoke Program.

Source code in calcipy/scripts.py
def start() -> None:  # pragma: no cover
    """Run the customized Invoke Program."""
    from .tasks import all_tasks  # noqa: PLC0415
    start_program(__pkg_name__, __version__, all_tasks)

start_docs ⚓︎

start_docs()

Run CLI with only the cl and doc namespaces.

Source code in calcipy/scripts.py
def start_docs() -> None:  # pragma: no cover
    """Run CLI with only the cl and doc namespaces."""
    from .tasks import cl, doc  # noqa: PLC0415
    _start_subset([cl, doc])

start_lint ⚓︎

start_lint()

Run CLI with only the lint namespace.

Source code in calcipy/scripts.py
def start_lint() -> None:  # pragma: no cover
    """Run CLI with only the lint namespace."""
    from .tasks import lint  # noqa: PLC0415
    _start_subset([lint])

start_pack ⚓︎

start_pack()

Run CLI with only the pack namespace.

Source code in calcipy/scripts.py
def start_pack() -> None:  # pragma: no cover
    """Run CLI with only the pack namespace."""
    from .tasks import pack  # noqa: PLC0415
    _start_subset([pack])

start_tags ⚓︎

start_tags()

Run CLI with only the tags namespace.

Source code in calcipy/scripts.py
def start_tags() -> None:  # pragma: no cover
    """Run CLI with only the tags namespace."""
    from .tasks import tags  # noqa: PLC0415
    _start_subset([tags])

start_test ⚓︎

start_test()

Run CLI with only the test namespace.

Source code in calcipy/scripts.py
def start_test() -> None:  # pragma: no cover
    """Run CLI with only the test namespace."""
    from .tasks import test  # noqa: PLC0415
    _start_subset([test])

start_types ⚓︎

start_types()

Run CLI with only the types namespace.

Source code in calcipy/scripts.py
def start_types() -> None:  # pragma: no cover
    """Run CLI with only the types namespace."""
    from .tasks import types  # noqa: PLC0415
    _start_subset([types])