Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchFromCache ¶
FetchFromCache loads tool list from cache file
func GetUpdateCallback ¶ added in v0.0.5
func GetUpdateCallback() func()
GetUpdateCallback returns a callback function that updates pdtm
func UpdateCache ¶
UpdateCache creates/updates cache file
Types ¶
type Options ¶
type Options struct {
ConfigFile string
Path string
NoColor bool
SetPath bool
SetGoPath bool
UnSetPath bool
Install goflags.StringSlice
Update goflags.StringSlice
Remove goflags.StringSlice
InstallAll bool
UpdateAll bool
RemoveAll bool
Verbose bool
Silent bool
Version bool
ShowPath bool
DisableUpdateCheck bool
DisableChangeLog bool
}
Options contains the configuration options for tuning the enumeration process.
func ParseOptions ¶
func ParseOptions() *Options
ParseOptions parses the command line flags provided by a user
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
Runner contains the internal logic of the program
func (*Runner) ListToolsAndEnv ¶ added in v0.0.5
ListToolsAndEnv prints the list of tools
Click to show internal directories.
Click to hide internal directories.