-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor setting config from argv (#3424)
* Rename setState to updateArgv * Add Argv type * Remove unnecessary argv.help check * Refactor setting config from argv * Rename acc to options * Use dot notation instead of string keys * Make Options of updateArgv an exact type * Move Argv type to it's own file * Update showConfig snapshot with 'projects' * Add missing options to args * Update setFromArgv and Argv types * Extract and reuse isJSON * Update updateArgv.js * Update validateCLIOptions.js * Move regex check out of _replaceRootDirInObject * Make explicit flags override those from --config * Rename isJSON -> isJSONString * Add reporters to args
- Loading branch information
Showing
19 changed files
with
485 additions
and
186 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.