comicbox.cli

source package comicbox.cli

Cli for comicbox.

Functions

  • get_args Parse CLI arguments into the config namespace.

  • main Get CLI arguments and perform the operation on the archive.

source get_args(params: Sequence[str] | None = None)Namespace

Parse CLI arguments into the config namespace.

Config-tree args carry dotted dests naming their template path; set_args(dots=True) nests them. params is an argv-style sequence: params[0] is treated as the program name and dropped before parsing, mirroring sys.argv. Pass None to parse sys.argv itself.

source main(params: Sequence[str] | None = None)None

Get CLI arguments and perform the operation on the archive.