-
Notifications
You must be signed in to change notification settings - Fork 431
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cobra): add parser for structured config file
This commit adds a parser for a structured config file using viper. Now, the config file can be written in a more structured way, like: cache: type: mem size: 1024 The old way (cli flags) is still supported. cache: - cache-type=mem - mem-cache-size=556
- Loading branch information
Showing
4 changed files
with
1,707 additions
and
13 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
Oops, something went wrong.