CLI Commands
Complete reference for the VibeGuard Command Line Interface.
scan
Scans a specific directory or file for vulnerabilities.
vibeguard-scan scan <path> [options]Options
--format <type>: Output format. Options:text,json,sarif.--threshold <number>: Fail if the safety score is below this threshold (0-100).
init
Generates a .vibeguard.yaml configuration file in the current directory.
vibeguard-scan initfix
Starts the interactive auto-fixer. VibeGuard will prompt you to resolve detected issues, extracting hardcoded secrets into `.env` files automatically.
vibeguard-scan fix <path>hook
Installs or removes the Git pre-commit hook.
vibeguard-scan hook installvibeguard-scan hook uninstall
mcp
Starts VibeGuard in Model Context Protocol (MCP) server mode, allowing AI assistants like Claude Desktop or Cursor to communicate with it.
vibeguard-scan mcp