Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BRANCH = "dev"
BRANCH of the Version
View Source
var COMMIT = "dirty"
View Source
var NAME = "fides"
NAME of the App
View Source
var SUMMARY = "v0.1.0"
SUMMARY of the Version
View Source
var VERSION = "0.1.0"
VERSION of Release
Functions ¶
func GetCommands ¶
func GetCommands() []*cli.Command
GetCommands -- retrieves all commands assigned to the main group
func GetSubcommands ¶
func GetSubcommands(group string) []*cli.Command
GetSubcommands retrieves all commands assigned to a group
func RegisterCommand ¶
func RegisterCommand(command *cli.Command)
RegisterCommand -- allows you to register a command under the main group
func RegisterSubcommand ¶
func RegisterSubcommand(group string, command *cli.Command)
RegisterSubcommand allows you to register a command under a group
Types ¶
type AppVersionInfo ¶
type AppVersionInfo struct { Name string Version string Branch string Summary string Commit string }
AppVersionInfo --
var AppVersion AppVersionInfo
AppVersion --
Click to show internal directories.
Click to hide internal directories.