cmd

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ExecCmd = &cobra.Command{
	Use:   "exec",
	Short: "Start and interactive prompt to select and esc-exec into a running container.",
	Run: func(cmd *cobra.Command, args []string) {
		promptCluster()
		promptService()
		promptTask()
		promptContainer()
		promptCommand()

		err := ecs.ExecuteCommand(&execInput)
		if err != nil {
			fmt.Println(err)
			os.Exit(1)
		}
	},
}

Functions

func Execute

func Execute(version string)

Execute validates input the Cobra CLI

Types

This section is empty.

Jump to

Keyboard shortcuts

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