Skip to content

Latest commit

 

History

History

cli

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

💻 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