Skip to content

xlflow analyze

Analyze VBA source for runtime-risk patterns without Excel COM.

Usage

bash
xlflow analyze

Options and Arguments

Option / argumentDescriptionDefault
--jsonReturn structured analysis findings.false

Examples

bash
xlflow analyze
xlflow analyze --json

Notes

TIP

Use analyze for fast source-level feedback before opening Excel.

IMPORTANT

Findings that block automation return a failure status and exit code 1.

JSON Output Example

Successful --json output uses the xlflow envelope plus command-specific fields.

json
{
  "status": "error",
  "command": "analyze",
  "findings": [{ "file": "src/modules/Main.bas", "line": 20, "code": "interactive_input" }]
}

Released under the MIT License.