Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "hipchat-cli", Short: "A CLI for common hipchat actions", Long: `This hipchat cli is intended to be used in scripts. Examples of its use: #gets topic of a room hipchat-cli room topic --room <room> #sets topic for a room hipchat-cli room topic --room <room> --topic <topic> #send notifications to a room hipchat-cli room notify --room <room> --message <msg> #shows a message with information regarding a monitoring alert, including handy links. hipchat-cli nagios --room production --type service --status critical --service "Apache process" --output "ok - pid found" \ --host main-web-100 --monitorurl https://nagios.com/dashboard/ \ --actions "CreateTicket:http://jira.com" --actions "Ack:http://nagios.com?a=ack&alert=x" `, SilenceUsage: true, }
RootCmd represents the base command when called without any subcommands
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.