()
| 96 | URLOverride string `yaml:"-"` |
| 97 | } |
| 98 | |
| 99 | func Default() *Config { |
| 100 | models := make(map[string]*Profile, len(managedProfiles)) |
| 101 | for name, p := range managedProfiles { |
| 102 | cp := p |
| 103 | models[name] = &cp |
| 104 | } |
| 105 | return &Config{ |
| 106 | Active: "local", |
| 107 | Models: models, |
| 108 | } |
| 109 | } |
| 110 | |
| 111 | // Bootstrap returns the config for the current project, creating .codehamr/ |