Shutter CLI

Command line tool that comes with the shutter.sh service.

It provides authentication and snapshot updating. Can also upload static web pages to the service for processing and download files from it.

Table of Contents

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.

$ 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