cmd

package
v1.13.1 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddDefaults

func AddDefaults(c *cobra.Command)

AddDefaults add standard additional flags and version information to a command

func Execute

func Execute(cmd *cobra.Command)

Execute wraps a command with error trapping that deals with the debug flag

func Test

func Test(cmd *cobra.Command) int

Test runs a command without calling os.Exit and instead returning the error code. Use this in place of Execute for functional testing

func Wrap

func Wrap(name string, src *cobra.Command)

Wrap creates a new command with the same functionality as src but with a new name and default options added for executables e.g. the --debug flag The new command is then executed

Types

This section is empty.

Directories

Path Synopsis
In this file, we convert a version of the SAM spec that has been simplified to the old CloudFormation spec format into the new registry schema format.
In this file, we convert a version of the SAM spec that has been simplified to the old CloudFormation spec format into the new registry schema format.
Package forecast looks at your account and tries to predict things that will go wrong when you attempt to CREATE, UPDATE, or DELETE a stack
Package forecast looks at your account and tries to predict things that will go wrong when you attempt to CREATE, UPDATE, or DELETE a stack

Jump to

Keyboard shortcuts

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