Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{
Use: "donations",
Short: "Donation requests for clans.",
Long: "Donation requests for clans.",
}
RootCmd is the root command for donations CLI application
View Source
var Verbose int
Verbose determines how verbose donations will run under
View Source
var VersionCmd = &cobra.Command{ Use: "version", Short: "returns donations version", Long: `returns donations version`, Run: func(cmd *cobra.Command, args []string) { fmt.Printf("donations v%s\n", metadata.GetVersion()) }, }
VersionCmd represents the version command
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.