func Prog(c *cli.Context) (string, error) {
	v := c.String(FlagProg.Name)
	if len(v) == 0 {
		v = c.App.Name
		if len(v) == 0 {
			return "", errors.New("empty string for prog")
		}
	}
	return v, nil
}
// Prog returns the value of FlagProg, the base name of the completion script
// to install or uninstall.
Prog returns the value of FlagProg, the base name of the completion script
to install or uninstall.
// Prog returns the value of FlagProg the base name of the completion script // to install or uninstall .
func Prog(c *cli.Context) (string, error) {
	v := c.String(FlagProg.Name)
	if len(v) == 0 {
		v = c.App.Name
		if len(v) == 0 {
			return "", errors.New("empty string for prog")
		}
	}
	return v, nil
}
func Prog ( c * cli . Context ) ( string , error ) { v := c . String ( FlagProg . Name ) if len ( v ) == 0 { v = c . App . Name if len ( v ) == 0 { return " " , errors . New ( " " ) } } return v , nil }
Prog returns the value of FlagProg, the base name of the completion script
to install or uninstall.
Prog returns the value of FlagProg the base name of the completion script to install or uninstall .