Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 874 Bytes

README.md

File metadata and controls

34 lines (21 loc) · 874 Bytes

💻 CLI

npm version License

This CLI tool helps to create new maps without forking this repository.

Installation

npm

npm install @svg-maps/cli

yarn

yarn add @svg-maps/cli

npx (using directly without installation)

npx @svg-maps/cli [command]

API

Usage: svg-maps [options] [command]

Options:
  -v, --version                  output the version number
  -h, --help                     output usage information

Commands:
  add                            Create a new map package with the same format as svg-maps
  generate <file.svg> [file.js]  Generate JS file from SVG file