fix: MacOS MDM based Deployment (#277)

* fix: MacOS MDM deployment script

* fix: Handle shell alias for bash on macos

* fix: Code review fixes

* fix: Code review fixes

* feat: Add support for global config file

* feat: Add support for global config file

* fix: Code review fixes

* fix: Avoid blocking CLI for analytics flush
This commit is contained in:
Abhisek Datta
2026-05-21 14:32:30 +05:30
committed by GitHub
parent 875cda2e43
commit b15ce33fe4
24 changed files with 1396 additions and 374 deletions
+4
View File
@@ -86,6 +86,10 @@ If the config file does not exist, a template is created first.`,
func runEdit() error {
cfg := appConfig.Get()
if cfg.IsManaged() {
return appConfig.NewManagedConfigError()
}
path := cfg.ConfigFilePath()
if _, err := os.Stat(path); errors.Is(err, os.ErrNotExist) {