Skip to content

Commit e9dfabd

Browse files
committed
♻️ Synced dbin 📦 <-- config.go: add ENV DBIN_PB_STYLE, ENV DBIN_SEARCH_LIMIT ⌚
1 parent 51cb245 commit e9dfabd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ type config struct {
3939
CacheDir string `yaml:"CacheDir" env:"DBIN_CACHE_DIR" description:"Directory where cached binaries will be stored."`
4040
LicenseDir string `yaml:"LicenseDir" env:"DBIN_LICENSE_DIR" description:"Directory where license files will be stored."`
4141
CreateLicenses bool `yaml:"CreateLicenses" env:"DBIN_CREATE_LICENSES" description:"Enable saving of license files from OCI downloads."`
42-
Limit uint `yaml:"SearchResultsLimit" description:"Limit the number of search results displayed."`
43-
ProgressbarStyle int `yaml:"PbarStyle,omitempty" description:"Style of the progress bar."`
42+
Limit uint `yaml:"SearchResultsLimit" env:"DBIN_SEARCH_LIMIT" description:"Limit the number of search results displayed."`
43+
ProgressbarStyle int `yaml:"PbarStyle,omitempty" env:"DBIN_PB_STYLE" description:"Style of the progress bar."`
4444
DisableTruncation bool `yaml:"Truncation" env:"DBIN_NOTRUNCATION" description:"Disable truncation of output."`
4545
RetakeOwnership bool `yaml:"RetakeOwnership" env:"DBIN_REOWN" description:"Retake ownership of installed binaries."`
4646
UseIntegrationHooks bool `yaml:"IntegrationHooks" env:"DBIN_USEHOOKS" description:"Use integration hooks for binaries."`

0 commit comments

Comments
 (0)