1.0.10 • Published 1 year ago
game-icons-tool v1.0.10
Game Icons Tool
A CLI tool to create icons svg, css and others like dart icons class from https://game-icons.net.
Available commands
Check all commands added until now on the table bellow:
| Command | Parameters | Description |
|---|---|---|
| download | output: path to put files in. | To download the icons from https://game-icons.net. |
| font | source: path to get files from.output: path to put files in. | To generate ttf font getting data from source. |
| generate | language: language to generate code for.source: path to get files from.output: path to put files in. | To generate code files. |
| list | no parameters. | List all commands. |
| web | source: path to get files from.output: path to put files in. | To generate web css and svg. |
Usage flow
This section shows to you an usage flow, typically you always need to download files first:
gameicons download workspace/downloadsAnd now we can use and of the other commands to generate whatever we want:
gameicons generate dart workspace/downloads workspace/codeSo simple, hein!?
Installation
yarn global add game-icons-tool # or npm install --global game-icons-toolThanks for use! And don't forget to credit https://game-icons.net for the icons.
Made with :heart: by Danilo Lutz.