@dvhb/icons
TypeScript icon, indicating that this package has built-in type declarations

1.2.2 • Public • Published

@dvhb/icons

dvhb icons toolset

oclif Version Downloads/week License Travis (.org)

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

Readme

Keywords

Package Sidebar

Install

npm i @dvhb/icons

Weekly Downloads

0

Version

1.2.2

License

MIT

Unpacked Size

20.9 kB

Total Files

16

Last publish

Collaborators

  • admindvhb
  • alexbee
  • r2d2dvhb
  • sairus2k