cmd

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ErrMsgAWSProfileNotValid is an error message to notify aws profile is not valid
	ErrMsgAWSProfileNotValid = `` /* 134-byte string literal not displayed */

	// ErrMsgQueryFormat is an error message about query format
	ErrMsgQueryFormat = "The query format is not valid."
	// ErrMsgDescribeParameters is an error message about DescribeParameters API
	ErrMsgDescribeParameters = "Failed to execute DescribeParameters API."
	// ErrMsgGetParameter is an error message about GetParameter API
	ErrMsgGetParameter = "Failed to execute GetParameter API."
	// ErrMsgPutParameter is an error message about PutParameter API
	ErrMsgPutParameter = "Failed to execute PutParameter API."
	// ErrMsgDeleteParameter is an error message about DeleteParameter API
	ErrMsgDeleteParameter = "Failed to execute DeleteParameter API."
)
View Source
const VERSION = "0.4.0"

VERSION is cli tool version

Variables

This section is empty.

Functions

func Execute

func Execute() int

Execute executes the root command and returns exit status

func NewRootCommand added in v0.3.1

func NewRootCommand(outWriter, errWriter io.Writer) (*cobra.Command, error)

Types

type GlobalOption added in v0.3.1

type GlobalOption struct {
	Profile   string
	Region    string
	IsNoColor bool

	SSMManager ssmctl.SSMManager

	Out    io.Writer
	ErrOut io.Writer
}

Jump to

Keyboard shortcuts

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