cmd

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MacpineCmd = &cobra.Command{
	Use:               "alpine",
	Short:             "Create, control, and connect to Alpine instances.",
	Long:              ``,
	CompletionOptions: completionOptions,
}

MacpineCmd represents the base command when called without any subcommands

Functions

func CorrectArguments added in v1.0.3

func CorrectArguments(imageVersion string, machineArch string, machineCPU string,
	machineMemory string, machineDisk string, sshPort string, machinePort string) error

func Execute

func Execute()

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 MacpineCmd.

func ValidateName added in v1.0.3

func ValidateName(name string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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