cmd

package
v0.6.9 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: MIT Imports: 36 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ColorGreen = "\033[32m"
	ColorReset = "\033[0m"
)
View Source
const (
	//nolint:varnamelen
	OK          = "OK"
	Fail        = "Fail"
	Testing     = "Testing"
	Unsupported = "Unsupported"
)

Variables

This section is empty.

Functions

func Execute

func Execute(version string)

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 NewCopyCloudCommand added in v0.3.0

func NewCopyCloudCommand() *cobra.Command

func NewCreateCloudCommand

func NewCreateCloudCommand() *cobra.Command

func NewCreateProfileCommand

func NewCreateProfileCommand() *cobra.Command

func NewDeleteCloudCommand

func NewDeleteCloudCommand() *cobra.Command

func NewDeleteProfileCommand

func NewDeleteProfileCommand() *cobra.Command

func NewListProfileCommand

func NewListProfileCommand() *cobra.Command

NewListProfileCommand creates the show command.

func NewRootCommand

func NewRootCommand(flags *rootFlags) *cobra.Command

NewRootCommand creates the root command.

func NewSetCloudCommand

func NewSetCloudCommand() *cobra.Command

func NewSetProfileCommand

func NewSetProfileCommand() *cobra.Command

func NewShowCloudCommand

func NewShowCloudCommand() *cobra.Command

func NewShowProfileCommand

func NewShowProfileCommand() *cobra.Command

func NewSmokeTestsCommand added in v0.6.0

func NewSmokeTestsCommand() *cobra.Command

NewSmokeTestsCommand creates the root command.

func NewVersionCommand added in v0.6.8

func NewVersionCommand(version string) *cobra.Command

Types

type AllCloudsOrProfilesFunc

type AllCloudsOrProfilesFunc func() ([]string, error)

type ValidArgsFunc

type ValidArgsFunc func(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

Jump to

Keyboard shortcuts

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