cmd

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2021 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CredentialProcessCmd = &cobra.Command{
	Use:   "credential_process [role_name]",
	Short: credentialProcessShortHelp,
	Long:  credentialProcessLongHelp,
	Args:  cobra.MaximumNArgs(1),
	RunE:  runCredentialProcess,
}
View Source
var (
	SetupExtras embed.FS
)

Functions

func DecodeWeepInfo added in v0.2.11

func DecodeWeepInfo(args []string, w io.Writer) error

func Execute

func Execute() error

func InteractiveRolePrompt added in v0.3.3

func InteractiveRolePrompt(args []string, region string, client *creds.Client) (string, error)

InteractiveRolePrompt will present the user with a fuzzy-searchable list of roles if - We are currently attached to an interactive tty - The user has not disabled them through the WEEP_DISABLE_INTERACTIVE_PROMPTS option

func PrintWeepInfo added in v0.2.11

func PrintWeepInfo(w io.Writer) error

func Run added in v0.1.39

func Run(initFunctions ...func())

func Setup added in v0.3.0

func Setup(cmd *cobra.Command, commit bool) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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