cmd

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2017 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "support-bundle",
	Short: "Generate and manage support bundles",
	Long: `A support bundle is an archive of files, output, metrics and state 
from a server that can be used to assist when troubleshooting a server.

The support-bundle utility can generate human readable archives, and can also 
be used to generate input to the support.io service.`,
}

RootCmd represents the base command when called without any subcommands

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func Generate

func Generate(cfgFile string, cfgDoc string, bundlePath string, skipDefault bool, timeoutSeconds int) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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