forked from eridem/patata
-
Notifications
You must be signed in to change notification settings - Fork 0
/
patata-cli.argv.js
46 lines (45 loc) · 920 Bytes
/
patata-cli.argv.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
'use strict'
module.exports = {
'by': {
alias: 'b',
demand: false,
nargs: 2,
type: 'string'
},
'ios': {
alias: 'pi',
demand: false,
nargs: 0,
describe: 'Used on "component". Add component only for iOS.',
type: 'boolean'
},
'android': {
alias: 'pa',
demand: false,
nargs: 0,
describe: 'Used on "component". Add component only for Android.',
type: 'boolean'
},
'common': {
alias: 'pc',
demand: false,
nargs: 0,
describe: 'Used on "component". Add component for all platforms.',
type: 'boolean'
},
'loglevel': {
alias: 'l',
demand: false,
nargs: 1,
choices: ['verbose', 'debug', 'warning', 'error'],
default: 'debug',
describe: 'Set level of messages displayed on console.',
type: 'string'
},
'help': {
alias: 'h',
demand: false,
describe: 'Show this help',
type: 'boolean'
}
}