Documentation ¶
Index ¶
Constants ¶
View Source
const Version = "0.2.0"
Version represents the current version of DogLeash CLI tool
Variables ¶
View Source
var RootCmd = &cobra.Command{
Use: "dogleash",
Short: "Datadog CLI tool written in golang",
}
RootCmd represents the base command when called without any subcommands
Functions ¶
Types ¶
type DogleashConfig ¶
type DogleashConfig struct { Organizations []Organization Current string `mapstructure:"current"` }
dogleash config current and orgs
var DC DogleashConfig
DC dogleash config
type Organization ¶
type Organization struct { Name string `mapstructure:"name"` APIKey string `mapstructure:"apikey"` APPKey string `mapstructure:"appkey"` }
orgs
Click to show internal directories.
Click to hide internal directories.