To use the CLI, you must sign up for a WebAim WAVE CLI API key
- Create an
.env
file - Add the key
API_KEY={api key value}
- Ex: API_KEY=thisisyourkey
- Pass the
.env
file path with the--envPath
flag
All flags are prepended with --
--envPath
: Used to designate where the.env
file lives. The default is the current working directory.--url
: URL to run the Wave accessibility tools against. Required--output
: location where to put the exported JSON file. The default location is the current working directory.
webaim-wave --url=https://google.com --envPath=config/.env
webaim-wave --url=https://amazon.com --output=wave/output