cmd

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 11, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LeagueCommand = cli.Command{
	Name: "league",
	Subcommands: []cli.Command{
		leagueDescribeCommand,
		leagueLevelsCommand,
		leagueDisciplinesCommand,
		leagueChallengesCommand,
		leagueResultsCommand,
	},
}

LeagueCommand is the command which manage a league

View Source
var LeaguesCommand = cli.Command{
	Name: "leagues",
	Subcommands: []cli.Command{
		leaguesListCommand,
	},
}

LeaguesCommand is the command which display available leagues

View Source
var VersionCommand = cli.Command{
	Name: "version",

	Action: func(context *cli.Context) error {
		fmt.Printf("Paleta v%s\n", version.Version)
		return nil
	},
}

VersionCommand is the command which display Paleta version

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL