EU Parliament Monitor — API Documentation - v0.9.24
    Preparing search index...
    • Parse the article-generator CLI argv into a CliOptions struct.

      Recognises --run-dir <dir> (or --run-dir=<dir>), --all, --out-dir <dir>, --title <s>, --description <s>, --help/-h, and rejects the historical --lang / --language / --markdown-only flags now that the CLI always renders all 14 languages with HTML output.

      Parameters

      • argv: readonly string[]

        Argument vector excluding node and the script path.

      • repoRoot: string

        Absolute path to the repository root, used to default outDir.

      Returns CliOptions

      Parsed CLI options ready to feed into generateArticle.

      On unknown flags, missing values, or removed flags.