sonarqube-cli

πŸ–₯️ Dashboard

The interactive issues view opened by a bare sonarqube.

Running sonarqube with no command opens a terminal dashboard for the configured project: an issues list, the selected issue's detail, and a highlighted snippet of the code around it.

sonarqube
sonarqube issues -i --new-code --severities CRITICAL,MAJOR

issues -i (or --interactive) is the same dashboard, started with filters. Outside a terminal, bare sonarqube prints the help instead of trying to draw.

Keys

KeyAction
↑ / ↓, j / kMove through the issues, loading each snippet
enterView the selected issue
rRefresh the code snippet
bSwitch branch, keeping your filters
h or ?Show the key help
q or Ctrl-CQuit

Filters

The dashboard takes the same issue filters as sonarqube issues: --severities, --types, --statuses, --new-code, -l, --limit. See Commands. The project and branch come from the usual configuration, and b changes the branch without restarting.

On this page