Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Quick = cmd.CMD{ Name: "quick", Alias: "q", Short: "Get the version and location of the most recent release", Args: &QuickArgs{}, Run: QuickRun, }
Quick gets the most recent release for a given source, without pretty printing
View Source
var Report = cmd.CMD{ Name: "report", Alias: "r", Short: "Generates a report of the last update", Args: &ReportArgs{}, Run: ReportRun, }
Report generates a report of the last update
View Source
var Root *cmd.RootCMD
Root is the main command for this application
View Source
var Update = cmd.CMD{ Name: "update", Alias: "u", Short: "Get the version and location for all identifiable sources", Args: &UpdateArgs{}, Run: UpdateRun, }
Update gets the most recent release for all package.yml files in a directory
Functions ¶
Types ¶
type QuickArgs ¶
type QuickArgs struct {
Path string `desc:"Location of package.yml"`
}
QuickArgs contains the arguments for the "quick" subcommand
type ReportArgs ¶
type ReportArgs struct{}
ReportArgs contains the arguments for the "report" subcommand
type UpdateArgs ¶
type UpdateArgs struct{}
UpdateArgs contains the arguments for the "update" subcommand
Click to show internal directories.
Click to hide internal directories.