Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Latest = cmd.CMD{ Name: "latest", Alias: "l", Short: "Get the latest stable release", Args: &LatestArgs{}, Run: LatestRun, }
Latest gets the most recent release for a given source
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 Releases = cmd.CMD{ Name: "releases", Alias: "r", Short: "Get all stable releases", Args: &ReleasesArgs{}, Run: ReleasesRun, }
Releases gets all releases for a given source
View Source
var Root *cmd.RootCMD
Root is the main command for this application
Functions ¶
Types ¶
type LatestArgs ¶
type LatestArgs struct {
URL string `desc:"Location of a previous source archive"`
}
LatestArgs contains the arguments for the "latest" subcommand
type QuickArgs ¶
type QuickArgs struct {
URL string `desc:"Location of a previous source archive"`
}
QuickArgs contains the arguments for the "quick" subcommand
type ReleasesArgs ¶
type ReleasesArgs struct {
URL string `desc:"Location of a previous source archive"`
}
ReleasesArgs contains the arguments for the "releases" subcommand
Click to show internal directories.
Click to hide internal directories.