Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 471 Bytes

README.md

File metadata and controls

18 lines (11 loc) · 471 Bytes

spritezero-cli

A command-line interface to spritezero.

Installation

npm install -g @geomatico/spritezero-cli

Usage

spritezero [output filename] [input directory]

  --retina      shorthand for --ratio=2
  --ratio=[n]   pixel ratio
  --unique      map identical images to multiple names

Spritezero reads an input directory containing SVG files and generates a JSON layout file and PNG spritesheet.