EU Parliament Monitor — API Documentation - v0.8.49
    Preparing search index...

    Module Aggregator/Cli/Parse

    Pure CLI parser that returns a discriminated union instead of calling process.exit mid-parse. The legacy parseCliArgs entry point in article-generator.ts is preserved for backward compatibility with existing callers and tests; new callers and unit tests should prefer parseCliArgsSafe so the --help and error branches are fully testable without spying on process.exit.

    Functions

    parseCliArgsSafe

    Interfaces

    ParsedOptions
    ParsedHelp
    ParsedError

    Type Aliases

    ParsedCli

    Variables

    HELP_TEXT