Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 2.49 KB

usage.md

File metadata and controls

37 lines (27 loc) · 2.49 KB

Note

This page is soon to be deprecated. Command documentation is being moved to vaar.envaar.dev/docs.

Command Map

This page is a short and simple codebase-side map of Vaar's available commands, as well as the related developer-maintained references.

For installation, verification and the fastest first run, start with the README.

Available Commands

Command What it does Read more
vaar lint [flags] Runs repository lint checks and optional safe fixes. Lint guide
vaar diff <left> <right> [flags] Compares key presence between two dotenv files. Diff guide
vaar --help / vaar help [command] Shows command help. Help guide
vaar completion <shell> Prints a shell completion script. Completion guide
vaar --version Prints the installed version. README

Where To Go Next

Common Paths

  1. Install Vaar and verify the binary from README.
  2. Run vaar lint in the repository you want to check.
  3. Use vaar lint --json --output=lint-report.json when you want to export the JSON report to a file instead of stdout.
  4. Run vaar diff .env .env.example to compare presence of keys between a local dotenv file and example dotenv file.
  5. Open docs/lint/README.md or docs/diff/README.md for detailed command behavior and exit codes.