Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMarkCmd ¶
NewMarkCmd returns the `mark` command to manually annotate false-positives.
func NewRootCmd ¶
NewRootCmd returns the root command of the CLI application.
func NewScanCmd ¶
NewScanCmd returns the `scan` command that analyzes the target source code.
func NewVersionCmd ¶
NewVersionCmd returns the `version` command.
Types ¶
type Flags ¶
type Flags struct {
Format string // Output format: json, html, markdown, sarif
OutputPath string // Optional path to write report
EnableAST bool // Enable AST-based rule analysis
EnableSSA bool // Enable SSA-based analysis
EnableTaint bool // Enable taint tracking
IgnoreFile string // Path to .codexignore file
DisableBuiltin bool // Disable built-in rules
}
Flags defines all global flags used by the Codex CLI.
Click to show internal directories.
Click to hide internal directories.