Discover Packages
github.com/blumsicle/bcli
internal
appconfig
package
Version:
v0.2.3
Opens a new window with list of versions in this module.
Published: Apr 8, 2026
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0 modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package appconfig defines application configuration defaults and schema.
Package appconfig defines application configuration defaults and schema.
type Config struct {
RootPath string `yaml:"root_path"`
ProjectDirPrefix string `yaml:"project_dir_prefix"`
GitLocation string `yaml:"git_location"`
LogLevel zerolog .Level `yaml:"log_level"`
PostSteps PostStepsConfig `yaml:"post_steps"`
}
Config contains app-wide settings loaded from defaults, YAML, and CLI overrides.
Default returns a config initialized with built-in defaults.
LoadYAML merges YAML configuration from path into the config.
Normalize expands config values that should be resolved before command execution.
type PostStepsConfig struct {
GoGetUpdate bool `yaml:"go_get_update"`
GoModTidy bool `yaml:"go_mod_tidy"`
GitInit bool `yaml:"git_init"`
GitCommit bool `yaml:"git_commit"`
}
PostStepsConfig contains configurable post-generation step toggles.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.