Save persists a viper config of the base name.
(basename string)
| 112 | |
| 113 | // Save persists a viper config of the base name. |
| 114 | func (c Config) Save(basename string) error { |
| 115 | return c.Persister.Save(c.UserViperConfig, basename) |
| 116 | } |
| 117 | |
| 118 | // InferSiteURL guesses what the website URL is. |
| 119 | // The basis for the guess is which API we're submitting to. |