@svg-maps/cli

Command-Line Interface to manage SVG maps

Usage no npm install needed!

<script type="module">
  import svgMapsCli from 'https://cdn.skypack.dev/@svg-maps/cli';
</script>

README

💻 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