Documentation
¶
Index ¶
Constants ¶
View Source
const ( Project = "ux" DefaultName = ".config" DefaultType = "yaml" DefaultFile = DefaultName + "." + DefaultType )
Variables ¶
View Source
var ( DefaultDir = filepath.Join(xdg.ConfigHome, Project) DefaultPath = filepath.Join(DefaultDir, DefaultFile) PluginDir = filepath.Join(DefaultDir, "plugins") LocalBin = xdg.BinHome )
Functions ¶
Types ¶
type GlobalOptions ¶
type GlobalOptions struct {
Config string
}
func (*GlobalOptions) ConfigVar ¶
func (opts *GlobalOptions) ConfigVar(flags *pflag.FlagSet)
func (*GlobalOptions) NewConfig ¶
func (opts *GlobalOptions) NewConfig() Config
Click to show internal directories.
Click to hide internal directories.