A command-line tool for code review and secret scanning that integrates with the CodeAnt platform. Current version is 0.4.7. It is actively developed with weekly releases. Key differentiators include: staged-only scanning, confidence-level-based exit codes (HIGH/MEDIUM/FALSE_POSITIVE), flexible file filtering via glob patterns, and easy setup as a Git pre-commit hook. The tool supports scanning staged, uncommitted, last-commit, or all changed files, and provides a login-based authentication flow with configurable API base URL.
npm install codeant-cliVerified import paths — ran on the pinned version, not inferred.
Demonstrates global install, login, and common scanning commands with file filtering and severity threshold options.
Use --all to scan all changed files, or --uncommitted, --last-commit as appropriate.
Use separate patterns per extension: --include '**/*.js' --include '**/*.ts'
Do not rely on FALSE_POSITIVE for blocking; set --fail-on to HIGH or MEDIUM to block real secrets.
Use CODEANT_API_BASE_URL env var instead of set-base-url command for CI/CD.
Set CODEANT_API_TOKEN environment variable directly to bypass login.
Run 'npm install -g codeant-cli' or use 'npx codeant-cli'
Run 'codeant login' or set CODEANT_API_TOKEN environment variable.
Verify internet connectivity and check API URL with 'codeant get-base-url' or set CODEANT_API_BASE_URL env var.
No dependency data recorded yet.