Working in a terminal is an essential and every day part of any software or DevOps engineer’s life. A terminal is perhaps the most common interface most of us use.
Console UIs are not so common these days, which is really strange.
Using a browser based app is cool, but there is something really cool about a console UI. That’s why
vacuum comes with a custom console UI for reviewing a linting run. I’m calling it the
dashboard (for now)
Run the dashboard against an OpenAPI spec
dashboard command and pass in your OpenAPI spec, or
Make sure your terminal window is sized to at least 1024x768
Navigating the Dashboard
Everything is keyboard driven (no mouse).
|Select Category||⬅️➡️/S,X||Navigate between categories|
|Change Rule / Violation||⬆⬇/A,Z||Change currently selected rule or violation|
|Select||<Enter>||Select a highlighted rule|
|Leave Rule||<Esc>||Leave selected rule|
|Quit||Q, Ctrl-C||Leave selected rule|
Replaying a report
The dashboard can replay a vacuum report. This means the dashboard will load in all the results as they were captured Even if the current specification is different to what it was when the report was captured.
Simply replace the <my-openapi-spec.yaml> with the report file, which will look something like my-openapi-spec-report-07-04-22-12-30-21.json.gz. vacuum will auto-detect the report file.
lint supports the following global flags
||Use an existing ruleset file for linting|