all2md.cli.commands.view

Document viewer command for all2md CLI.

This module provides the view command for converting documents to HTML and displaying them in a web browser with optional themes. Supports temporary or persistent output files and includes table of contents generation.

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

Handle view command to display document in browser.

Parameters:

args (list[str], optional) – Command line arguments (beyond ‘view’)

Returns:

Exit code (0 for success)

Return type:

int