LoadConfig loads the configuration from the default paths.
()
| 10 | |
| 11 | // LoadConfig loads the configuration from the default paths. |
| 12 | func LoadConfig() (*MainConfig, error) { |
| 13 | return LoadConfigFromPath(DefaultConfigPath, DefaultKnownHostsPath) |
| 14 | } |
| 15 | |
| 16 | // LoadConfigFromPath loads the configuration from the specified paths, |
| 17 | // generating a new config file if one does not exist. |