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
FileExtensions []string`toml:"file_extensions" arg:"--extensions,env:ELBOW_EXTENSIONS" help:"Limit search to specified file extensions. Specify as space separated list to match multiple required extensions."`
This will probably be a lot clearer once I refactor the config handling to match more recent projects such as atc0005/dnsc or atc0005/check-cert. In those projects the config setup attempts to retrieve a user-provided value and if not found falls back to an explicit default for each configuration setting.
While a little more work to setup initially, it makes the "getter" methods consistent and provides a stable point of reference when updating configuration setting documentation (such as discussed here).
README says:
extensions
paths
Code says:
elbow/config/config.go
Line 59 in 6945786
elbow/config/config.go
Line 48 in 6945786
elbow/config/get.go
Lines 134 to 141 in 6945786
elbow/config/get.go
Lines 73 to 87 in 6945786
The text was updated successfully, but these errors were encountered: