trlcdoc.cli

Command line interface of trlcdoc.

Attributes

STEPS

COPYRIGHT

REPOSITORY

DESCRIPTION

EXIT_INTERRUPTED

LOG

Functions

main([argv]) → int

Run the requested trlcdoc steps and stop the PlantUML picoweb server at the end.

Module Contents

trlcdoc.cli.STEPS = ['clean', 'check', 'plantuml', 'tests', 'convert', 'trace', 'html', 'show']
trlcdoc.cli.COPYRIGHT = 'Copyright (c) 2026 Norbert Schulz'
trlcdoc.cli.REPOSITORY = 'https://github.com/nhjschulz/trlc-doc'
trlcdoc.cli.DESCRIPTION = Multiline-String
Show Value
"""Build project documentation for TRLC/LOBSTER based projects: requirements, architecture,
tests, test results, tracing report and HTML site."""
trlcdoc.cli.EXIT_INTERRUPTED = 130
trlcdoc.cli.LOG
trlcdoc.cli.main(argv: list[str] | None = None) → int[source]

Run the requested trlcdoc steps and stop the PlantUML picoweb server at the end.

Parameters:

argv (list[str] | None) – Arguments, defaults to sys.argv[1:].

Returns:

0 if all steps succeeded and the content has no findings, 1 on findings (failed tests, missing trace links), 2 on build errors, 130 if interrupted.

Return type:

int