func NewFlagNameAlias(prefix FlagPrefix, group, name, alias string) *FlagName {
	if len(group) > 0 {
		name = group + "-" + name
		alias = group + "-" + alias
	}

	uf := strings.ReplaceAll(strings.ToUpper(name), "-", "_")
	ua := strings.ReplaceAll(strings.ToUpper(alias), "-", "_")

	return &FlagName{
		Name:     name,
		Aliases:  []string{alias},
		EnvVars:  prefix.EnvVars(uf, ua),
		FilePath: prefix.FilePath(uf, ua),
	}
}
// NewFlagNameAlias returns *FlagName.
NewFlagNameAlias returns *FlagName.
// NewFlagNameAlias returns * FlagName .
func NewFlagNameAlias(prefix FlagPrefix, group, name, alias string) *FlagName {
	if len(group) > 0 {
		name = group + "-" + name
		alias = group + "-" + alias
	}
	uf := strings.ReplaceAll(strings.ToUpper(name), "-", "_")
	ua := strings.ReplaceAll(strings.ToUpper(alias), "-", "_")
	return &FlagName{
		Name:     name,
		Aliases:  []string{alias},
		EnvVars:  prefix.EnvVars(uf, ua),
		FilePath: prefix.FilePath(uf, ua),
	}
}
func NewFlagNameAlias ( prefix FlagPrefix , group , name , alias string ) * FlagName { if len ( group ) > 0 { name = group + " " + name alias = group + " " + alias } uf := strings . ReplaceAll ( strings . ToUpper ( name ) , " " , " " ) ua := strings . ReplaceAll ( strings . ToUpper ( alias ) , " " , " " ) return & FlagName { Name : name , Aliases : [ ] string { alias } , EnvVars : prefix . EnvVars ( uf , ua ) , FilePath : prefix . FilePath ( uf , ua ) , } }
NewFlagNameAlias returns *FlagName.
NewFlagNameAlias returns * FlagName .