Discover Packages
github.com/AndrewADev/bight
internal
config
package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Apr 30, 2026
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Config struct {
Project string `yaml:"project"`
Defaults Defaults `yaml:"defaults"`
EnvFiles []EnvFile `yaml:"env_files"`
}
LoadFrom loads config from a specific repo config file path, merging with
the global config (~/.bight.yml) as usual. Unlike Load, it does not search
for .bight.yml or .bight.yaml in the current directory.
type Defaults struct {
BranchTemplate string `yaml:"branch_template"`
}
type EnvFile struct {
Path string `yaml:"path"`
Backup bool `yaml:"backup"`
Vars []Var `yaml:"vars"`
}
type Var struct {
Name string `yaml:"name"`
Strategy string `yaml:"strategy"`
On string `yaml:"on"`
Sensitive bool `yaml:"sensitive"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.