GetDefaultConfigPath returns the default configuration file path.
()
| 21 | |
| 22 | // GetDefaultConfigPath returns the default configuration file path. |
| 23 | func GetDefaultConfigPath() string { |
| 24 | return filepath.Join(getConfigDir(), "config.yml") |
| 25 | } |
| 26 | |
| 27 | // CreateDefaultConfigFile creates a default configuration file and returns its path. |
| 28 | func CreateDefaultConfigFile() (string, error) { |