Instalación
Parley corre en cualquier sistema con Go 1.22+ como binario único. No necesita runtime, no modifica el sistema, no crea servicios.
Desde Homebrew
Section titled “Desde Homebrew”La forma más rápida en macOS y Linux:
brew install pigu-ing/tap/parleyDesde Go install
Section titled “Desde Go install”go install github.com/pigu-ing/parley@latestVerificar instalación
Section titled “Verificar instalación”parley --versionUso básico
Section titled “Uso básico”Escanear un proyecto completo
Section titled “Escanear un proyecto completo”parley scan . --recursiveEscanear un archivo
Section titled “Escanear un archivo”parley scan handlers/auth.goSolo archivos staged (hook pre-commit)
Section titled “Solo archivos staged (hook pre-commit)”parley scan --staged --severity HIGHOutput para GitHub Security tab
Section titled “Output para GitHub Security tab”parley scan . --recursive --format sarif --output results.sarifVer reglas disponibles
Section titled “Ver reglas disponibles”parley rules list --language goparley rules list --language pythonparley rules list --language typescriptparley rules list --language javascriptEjemplo de output
Section titled “Ejemplo de output”parley — AI code security scanner 3 file(s) scanned
handlers/auth.go [CRITICAL] G001 Hardcoded Credentials line 12 password := "hunter2" → Use os.Getenv() or a secrets manager such as HashiCorp Vault.