CLI Module

The CLI module provides the all2md command-line interface. While most users interact with the CLI directly via the terminal, these modules can also be used programmatically for building custom tools.

For user-facing CLI documentation, see Command Line Interface.

Main Components

Core CLI functionality:

all2md.cli.builder

Dynamic CLI argument builder for all2md.

all2md.cli.processors

Specialized processing functions for all2md CLI.

all2md.cli.validation

Structured validation helpers for CLI argument checks.

Commands

CLI subcommands for various operations:

all2md.cli.commands

CLI command handlers and utilities for all2md.

Configuration

CLI configuration and preset management:

all2md.cli.config

Configuration file discovery and loading for all2md CLI.

all2md.cli.presets

Configuration presets for all2md CLI.

Input/Output

Input handling and output formatting:

all2md.cli.input_items

CLI input abstractions for handling local, remote, and stdin sources.

all2md.cli.output

Utility functions for cli output.

all2md.cli.progress

Unified progress tracking and summary rendering for CLI.

Additional Modules

Supporting functionality:

all2md.cli.watch

Watch mode implementation for all2md CLI.

all2md.cli.timing

Timing and instrumentation utilities for all2md CLI.

all2md.cli.help_formatter

Enhanced help formatter for the all2md CLI.

all2md.cli.custom_actions

Custom argparse actions for improved CLI argument handling.

all2md.cli.packaging

Output packaging utilities for all2md CLI.

Complete CLI Reference