EU Parliament Monitor — API Documentation - v1.0.9
    Preparing search index...

    Interface ParsedOptions

    Successful parse → ready-to-execute options.

    Always-14-languages-always-HTML contract: the CLI no longer accepts --lang/--language or --markdown-only flags — every invocation generates HTML for all 14 supported languages. The langs and markdownOnly fields are preserved on the parsed options solely so the programmatic generateArticle() API (driven directly from unit / integration tests for speed) can still scope a single test run to a subset of languages or skip HTML emission. They are not settable via argv.

    interface ParsedOptions {
        kind: "options";
        value: {
            runDir: string | null;
            all: boolean;
            since?: string;
            langs: readonly LanguageCode[];
            outDir: string;
            repoRoot: string;
            title?: string;
            description?: string;
            markdownOnly: boolean;
        };
    }
    Index

    Properties

    Properties

    kind: "options"
    value: {
        runDir: string | null;
        all: boolean;
        since?: string;
        langs: readonly LanguageCode[];
        outDir: string;
        repoRoot: string;
        title?: string;
        description?: string;
        markdownOnly: boolean;
    }

    Type Declaration

    • ReadonlyrunDir: string | null
    • Readonlyall: boolean
    • Optional Readonlysince?: string
    • Readonlylangs: readonly LanguageCode[]

      Always [...ALL_LANGUAGES] when produced by this CLI parser; tests may override the field when calling generateArticle directly.

    • ReadonlyoutDir: string
    • ReadonlyrepoRoot: string
    • Optional Readonlytitle?: string
    • Optional Readonlydescription?: string
    • ReadonlymarkdownOnly: boolean

      Always false when produced by this CLI parser; tests may set true programmatically to skip HTML emission for speed.