feat: add no-push config to disable automatic git push
Wire up the existing --no-push flag to a config option so it can be set as the default, and update bd prime output accordingly. - Add no-push default to config.go, matching existing pattern - Check config in sync.go when --no-push flag not explicitly set - Update bd prime output to omit git push step when enabled
This commit is contained in:
@@ -106,6 +106,9 @@ func Initialize() error {
|
||||
// Sync configuration defaults (bd-4u8)
|
||||
v.SetDefault("sync.require_confirmation_on_mass_delete", false)
|
||||
|
||||
// Push configuration defaults
|
||||
v.SetDefault("no-push", false)
|
||||
|
||||
// Read config file if it was found
|
||||
if configFileSet {
|
||||
if err := v.ReadInConfig(); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user