CLI

CLI dispatcher internals

vcspull.cli assembles the argument parser and dispatches each subcommand to its module — start here to trace how a command line becomes a function call.

CLI utilities for vcspull.

vcspull.cli.build_description(intro, example_blocks)
function[source]
function[source]
vcspull.cli.build_description(intro, example_blocks)

Assemble help text with optional example sections.

Parameters:
Return type:

str

vcspull.cli.create_parser(return_subparsers: Literal[True]) tuple[ArgumentParser, Any]
function[source]
function[source]
vcspull.cli.create_parser(return_subparsers: Literal[True]) tuple[ArgumentParser, Any]
vcspull.cli.create_parser(return_subparsers: Literal[False]) ArgumentParser
function
function
vcspull.cli.create_parser(return_subparsers: Literal[False]) ArgumentParser

Create CLI argument parser for vcspull.

vcspull.cli.cli(_args=None)
function[source]
function[source]
vcspull.cli.cli(_args=None)

CLI entry point for vcspull.

Parameters:

_args (list[str] | None)

Return type:

None