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
* add relative rename support
* support slices of encoding..TextUnmarshaler
* add support for cli command via flags plugin
* allow exposing a pointer
* allow exposing an interface type of the underlying value
* plugins/flag: support default for command
* plugins/flag: work with defaults instead of duplicate
* inc required test files
* new plugin: file.NewMulti
* plugins/flag: move the command last
* plugins/file: better report on decoding failure
* plugins/flag: support required flags
* plugins/flag allow command after boolean flag
* plugins/flag: error on extra arguments
* new interface with command support
* update min go version
* update docs
---------
Co-authored-by: Omeid Matten <omeid@kemene.com>
Copy file name to clipboardExpand all lines: README.md
+63-81Lines changed: 63 additions & 81 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
4
4
Lightweight, zero-dependency, and extendable configuration management.
5
5
6
-
uConfig is extremely light and extendable configuration management library with zero dependencies. Every aspect of configuration is provided through a _plugin_, which means you can have any combination of flags, environment variables, defaults, secret providers, Kubernetes Downward API, and what you want, and only what you want, through plugins.
6
+
uConfig is extremely light and extendable configuration management library with zero dependencies. Every aspect of configuration is provided through a _plugin_, which means you can have any combination of flags, environment variables, defaults, secret providers, Kubernetes Downward API, and any combination of configuration files and formats including json, toml, cue, or just about anything you want, and only what you want, through plugins.
7
7
8
8
9
9
uConfig takes the config schema as a struct decorated with tags, nesting is supported.
@@ -216,62 +206,56 @@ The secret provider allows you to grab the value of a config from anywhere you w
216
206
Unlike most other plugins, secret requires explicit `secret:""` tag, this is because only specific config values like passwords and api keys come from a secret provider, compared to the rest of the config which can be set in various ways.
0 commit comments