all2md.cli.commands.completion

Shell completion script generators for all2md.

This module provides generators for bash, zsh, and PowerShell completion scripts. Each generator produces a self-contained script with embedded option lists and context-aware completion logic.

all2md.cli.commands.completion.handle_completion_command(args: list[str] | None = None) int | None

Handle the completion subcommand.

Parameters:

args (list[str] | None) – Command line arguments, defaults to sys.argv[1:]

Returns:

Exit code (0 for success) or None if not a completion command

Return type:

int | None