cmd

package
v0.1.32 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2022 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// VersionCli is set from outside using ldflags
	VersionCli = "0.0.0"

	// CommitCli is set from outside using ldflags
	CommitCli = "none"

	// DateCli is set from outside using ldflags
	DateCli = "unknown"
)

Functions

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

func InstallApps added in v0.1.32

func InstallApps(defaultApps []string, apps, removeApps string) []string

InstallApps returns the list of applications to install

Types

type DiskImage added in v0.1.32

type DiskImage struct {
	ID           string
	Name         string
	Version      string
	State        string
	Distribution string
}

DiskImage contains the fields of a Civo disk image

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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