func Add(alias, uri, sshkey string, options []string) error {
	hostOptions := getHostOptions(alias, uri, sshkey, options)
	sshConfig, err := config.LoadUserConfig()
	if err != nil {
		return err
	}
	if err := sshConfig.NewHost(alias, hostOptions); err != nil {
		return err
	}
	return nil
}
Add host to sshconfig file
package actions
import (
	"errors"
	"os"
	"strings"
	"github.com/nicolascb/nssh/internal/config"
)
func Delete(alias string) error {
	sshConfig, err := config.LoadUserConfig()
	if err != nil {
		return err
	}
	if err := sshConfig.DeleteHost(alias); err != nil {
		return err
	}
	return nil
}