Ika
dc26445e51
refactor(options): use supportOptions to generate CLI options ( #3622 )
...
* refactor(cli-constant): use supportOptions
* refactor(options): use supportOptions
* refactor(cli-util): use supportOptions
* fix: do not infer parser in multiparser
* chore: remove unnecessary package
* chore: trigger another travis build
* test: add kebab-case test to ensure no regression
* test: update snapshots
2018-01-18 15:26:27 +08:00
Ika
2ef879f20d
feat(cli): add `--loglevel` option ( #2992 )
...
* feat(cli): add `--loglevel` option
* fix: handle error from invalid option
* fix: choice value and shouldLog logic
* test: fix test cases
* fix: change log style
* test: truncate snapshots
* test: reduce duplicate code
* test: use patterns instead of snapshots
* test: fix regex
2017-10-13 20:17:01 -05:00
Ika
7770356a51
test(integration): update title and catch all outputs ( #2951 )
2017-10-02 18:08:34 +02:00
Ika
0d756080b5
fix: ignore and show warning for unknown option from config file ( #2929 )
2017-09-28 19:59:32 +02:00
Ika
4435ecbc7b
fix(cli): validate options for every `config-precedence` ( #2894 )
...
* fix(cli): validate options for every `config-precedence`
* refactor: use camelcase
* refactor: reduce duplicate code
* refactor: rename function
* refactor: rename parameter
2017-09-25 21:04:25 +02:00
ikatyang
4d4d8e3f4e
refactor: normalizeArgv without using getter
2017-09-09 13:38:28 +08:00
Lucas Azzola
87503e5ef7
Refactor error handling ( #2750 )
2017-09-06 09:52:59 +10:00
Mitermayer Reis
c59a82cbae
Add CLI option '--config-precedence' ( #2733 )
...
Add CLI option '--config-precedence'
2017-09-05 08:56:23 +10:00
ikatyang
ac9fa43114
test(integration): add more tests
2017-09-03 21:31:33 +08:00