// Config Generate a sshrimp configuration file if it doesn't exsit
Config Generate a sshrimp configuration file if it doesn't exsit
// Config Generate a sshrimp configuration file if it doesn ' t exsit
func Config() error {
	c := config.NewSSHrimpWithDefaults()
	if err := c.Read(config.GetPath()); err != nil {
		configPath, err := config.Wizard(config.GetPath(), c)
		if err != nil {
			return err
		}
		os.Setenv("SSHRIMP_CONFIG", configPath)
	}
	return nil
}
func Config ( ) error { c := config . NewSSHrimpWithDefaults ( ) if err := c . Read ( config . GetPath ( ) ) ; err != nil { configPath , err := config . Wizard ( config . GetPath ( ) , c ) if err != nil { return err } os . Setenv ( " " , configPath ) } return nil }
Config Generate a sshrimp configuration file if it doesn't exsit
Config Generate a sshrimp configuration file if it doesn ' t exsit
// Read the existing config if it doesn't exist, generate a new one // If a different config path is chosen, use it for the rest of the build