-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Consolidate similar meaning configuration keys properly inside anothe…
…r key (#1590) * adding support for embedded config keys and fixing circle prevention * forgot to fix this config * refactor nested config system to support flag likes `--forts.something.anything` This example `--forts.something.anything` would be parsed as `config.forts_something_anything`. And in the JSON config it should be like this: ``` ‘forts’: { ‘something’: { ‘anything’: 1 } } ``` * add fix_nested_config(config) call * update missing usage of `config.avoid_circles` -> `config.forts_avoid_circles`
- Loading branch information
1 parent
a14323c
commit 6154939
Showing
5 changed files
with
39 additions
and
19 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
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