-
Notifications
You must be signed in to change notification settings - Fork 65
Expand file tree
/
Copy pathhelp.ts
More file actions
18 lines (16 loc) · 980 Bytes
/
help.ts
File metadata and controls
18 lines (16 loc) · 980 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env node
import colors from 'colors';
console.log([
'',
'Usage:',
'',
' ' + colors.green.bold('npx iconfont-init [--output]') + ' : Generate configuration file, default file name is iconfont.json',
' ' + colors.green.bold('npx iconfont-wechat [--config]') + ' : Generate wechat icon component',
' ' + colors.green.bold('npx iconfont-alipay [--config]') + ' : Generate alipay icon component',
' ' + colors.green.bold('npx iconfont-baidu [--config]') + ' : Generate baidu icon component',
' ' + colors.green.bold('npx iconfont-toutiao [--config]') + ' : Generate toutiao icon component',
' ' + colors.green.bold('npx iconfont-kuaishou [--config]') + ' : Generate kuaishou icon component',
' ' + colors.green.bold('npx iconfont-qq [--config]') + ' : Generate qq icon component',
' ' + colors.green.bold('npx iconfont-harmony [--config]') + ' : Generate harmony icon component',
'',
].join('\n'));