mix lei.sarif (LowEndInsight v0.13.1)

Copy Markdown View Source

Analyze a project's dependencies and produce a SARIF 2.1.0 report suitable for upload to GitHub Code Scanning via the github/codeql-action/upload-sarif action.

Usage

mix lei.sarif [path] [--output <file>]

Options

  • --output / -o - Write SARIF to file instead of stdout

Examples

mix lei.sarif
mix lei.sarif . --output lei-results.sarif
mix lei.sarif /path/to/project -o results.sarif

Summary

Functions

Reads the arguments, refusing an unknown switch rather than crashing on it.

Functions

parse_args(args)

@spec parse_args([String.t()]) :: {:ok, map()} | {:error, String.t()}

Reads the arguments, refusing an unknown switch rather than crashing on it.

mix lei.sarif . --bogus raised, printing a stack trace where a usage line belongs (checked 2026-09-16).