func Dir(c *cli.Context) (string, error) {
	v := c.String(FlagDir.Name)
	if len(v) == 0 {
		return "", errors.New("empty string for dir")
	}
	return os.ExpandEnv(v), nil
}
// Dir returns the value of FlagDir, the directory to install or uninstall the
// completion script.
Dir returns the value of FlagDir, the directory to install or uninstall the
completion script.
// Dir returns the value of FlagDir the directory to install or uninstall the // completion script .
func Dir(c *cli.Context) (string, error) {
	v := c.String(FlagDir.Name)
	if len(v) == 0 {
		return "", errors.New("empty string for dir")
	}
	return os.ExpandEnv(v), nil
}
func Dir ( c * cli . Context ) ( string , error ) { v := c . String ( FlagDir . Name ) if len ( v ) == 0 { return " " , errors . New ( " " ) } return os . ExpandEnv ( v ) , nil }
Dir returns the value of FlagDir, the directory to install or uninstall the
completion script.
Dir returns the value of FlagDir the directory to install or uninstall the completion script .