all2md.cli.commands.server

HTTP server command for all2md CLI.

This module provides the serve command for hosting documents via HTTP server with on-demand conversion to HTML. Supports directory listings, multiple themes, file upload forms, and REST API endpoints for development use.

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

Handle serve command to serve documents via HTTP server.

Parameters:

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

Returns:

Exit code (0 for success)

Return type:

int