shutter
v0.5.0
Published
Shutter.sh command line client
Downloads
11
Readme
shutter
CLI tool to use the shutter.sh service.
It can upload static web pages to the service for processing and download files from it.
Installation
$ npm install shutter
# or using yarn:
$ yarn add shutter
Usage
Login
The shutter
CLI tool allows you to easily log in using your GitHub account. On successful login an authentication token will be written to the .shutterrc
file in your home directory.
$ npx shutter login
Update snapshots
From time to time you will work on your user interface and the snapshots won't match anymore, due to intended changes. In that case you can use shutter update
to interactively update your snapshots.
$ shutter update
It shows an interactive list containing all tests that failed on last test run. You can select the snapshots you want to update.
Help
To print usage instructions:
$ npx shutter --help
See also
Check out the documentation at https://docs.shutter.sh.