@dvhb/icons
v1.2.2
Published
dvhb icons toolset
Downloads
16
Keywords
Readme
@dvhb/icons
dvhb icons toolset
Usage
$ npm install -g @dvhb/icons
$ dvhb-icons COMMAND
running command...
$ dvhb-icons (-v|--version|version)
@dvhb/icons/1.2.2 linux-x64 node-v12.14.1
$ dvhb-icons --help [COMMAND]
USAGE
$ dvhb-icons COMMAND
...
Commands
dvhb-icons figma2svg
extract svg icons from figma
USAGE
$ dvhb-icons figma2svg
OPTIONS
-e, --exclude=exclude comma separated frames for excluding
-f, --fileId=fileId (required) figma fileId
-h, --help show CLI help
-i, --icons=icons (required) [default: icons] icons folder
-p, --page=page (required) [default: Icons] figma page
-t, --token=token (required) figma token
EXAMPLE
$ dvhb-icons figma2svg
See code: src/commands/figma2svg.ts
dvhb-icons generate
generate react components from svg icons
USAGE
$ dvhb-icons generate
OPTIONS
-c, --components=components (required) [default: components] components folder
-h, --help show CLI help
-i, --icons=icons (required) [default: icons] icons folder
-n, --native generate icons for react-native
-t, --template=template [default: .svgrrc.js] template for icon files
EXAMPLE
$ dvhb-icons generate
See code: src/commands/generate.ts
dvhb-icons help [COMMAND]
display help for dvhb-icons
USAGE
$ dvhb-icons help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help