Esempio n. 1
0
func RemoveRemote(config config.Config, name string) (prettycli.Output, error) {
	if err := config.Remove(name); err != nil {
		return prettycli.PlainOutput{}, err
	}
	out := fmt.Sprintf("Successfully removed remote '%s' from configuration!", name)
	return prettycli.PlainOutput{out}, nil
}