You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
describe: 'the target localization service provider',
31
+
demandOption: true
32
+
})
33
+
.option('conf',{
34
+
type: 'string',
35
+
alias: 'c',
36
+
describe: 'the json file configration of localization service provider. If omitted, use the suffix file name with `-conf` for provider name of --provider (e.g. <provider>-conf.json).'
37
+
})
38
+
.option('target',{
39
+
type: 'string',
40
+
alias: 't',
41
+
describe: 'target path that locale messages file is stored, default push with the filename of target path as locale'
42
+
})
43
+
.option('locale',{
44
+
type: 'string',
45
+
alias: 'l',
46
+
describe: `option for the locale of locale messages file specified with --target, if it's specified single-file`
47
+
})
48
+
.option('targetPaths',{
49
+
type: 'string',
50
+
alias: 'T',
51
+
describe: 'target directory paths that locale messages files is stored, Can also be specified multi paths with comma delimiter'
52
+
})
53
+
.option('filenameMatch',{
54
+
type: 'string',
55
+
alias: 'm',
56
+
describe: `option should be accepted a regex filenames, must be specified together --targets if it's directory path of locale messages`
57
+
})
58
+
.option('normalize',{
59
+
type: 'string',
60
+
alias: 'n',
61
+
describe: 'option for the locale messages structure, you can specify the option, if you hope to normalize for the provider.'
0 commit comments