Skip to main content

Gluon CLI Reference

All commands use the gln prefix.

Core Commands

gln init

Initialize Gluon in your project.
gln init

gln analyze

Run static security analysis.
gln analyze [options]
OptionDescription
--fixAuto-fix issues where possible
--format <fmt>Output format: text, json, sarif

gln run

Run a command with runtime monitoring.
gln run [options] -- <command>
OptionDescription
--mode <mode>Secret protection: detect, redact, block
--redact-text <text>Custom redaction text (default: [REDACTED])
--no-secretsDisable secret detection
--no-networkDisable network monitoring
Examples:
gln run -- npm start
gln run --mode redact -- npm start
gln run --mode block -- node server.js
gln run --no-network -- npm test

gln sbom

Generate a Software Bill of Materials.
gln sbom [options]
OptionDescription
--format <fmt>Format: cyclonedx, spdx
--output <file>Output file path
--staticInclude static analysis results
Examples:
gln sbom
gln sbom --format spdx --output sbom.json

Configuration

gln config

View or set configuration.
gln config [key] [value]

Reports

gln report

Generate security report.
gln report [options]
OptionDescription
--format <fmt>Format: text, json, html
--output <file>Output file path