cmd

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2018 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Version: "0.1",
	Use:     "statuspage",
	Short:   "The Statuspage cli tool",
	Long:    `This commandline tool interacts with the statuspage.io API`,
}

RootCmd represents the base command when called without any subcommands

Functions

func Execute

func Execute()

Execute root cmd

Types

type AppConfig

type AppConfig struct {
	CfgFile string
	Client  *statuspage.Client
	Debug   bool
}

AppConfig represents the CLI application

Jump to

Keyboard shortcuts

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