Skip to content

Latest commit

 

History

History
100 lines (71 loc) · 1.91 KB

README.md

File metadata and controls

100 lines (71 loc) · 1.91 KB

svg-sprite

combine svg files to svg sprite

oclif Version Downloads/week

中文文档

Usage

$ npm install -g @matpool/svg-sprite
$ ss COMMAND
running command...
$ ss (-v|--version|version)
@matpool/svg-sprite/1.1.1 darwin-x64 node-v14.19.0
$ ss --help [COMMAND]
USAGE
  $ ss COMMAND
...

Commands

ss gen

auto generate icon script and example html

USAGE
  $ ss gen

OPTIONS
  -h, --help  show CLI help

See code: src/commands/gen.ts

ss help [COMMAND]

display help for ss

USAGE
  $ ss help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

ss init

init icons config and directory

USAGE
  $ ss init

OPTIONS
  -h, --help  show CLI help

See code: src/commands/init.ts

ss serve

start a server to manage icons

USAGE
  $ ss serve

OPTIONS
  -h, --help       show CLI help
  -p, --port=port  [default: 10086]

See code: src/commands/serve.ts