cmd

package
v0.1.22 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2026 License: AGPL-3.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "Not Set"

Version of CLI set by go build command go build -ldflags "-X main.Version=`git rev-parse HEAD`"

Functions

func Execute

func Execute() error

Execute executes the root command.

func GenerateIDToken added in v0.1.13

func GenerateIDToken() uuid.UUID

func MergeConfig added in v0.1.22

func MergeConfig(opt *cmdCreateOptions, config *cmdCreateOptions)

MergeConfig merges the options from the configuration file into the command-line options. Command-line options take precedence over configuration file options.

func PrettyPrint

func PrettyPrint(v interface{}) (err error)

func ProcessDownloadSlice added in v0.1.19

func ProcessDownloadSlice(downloadSlice []string, remote tools.Remote)

func ProcessUploadSlice added in v0.1.20

func ProcessUploadSlice(uploadSlice []string, remote tools.Remote)

func ReadConfig

func ReadConfig(cloudProvider string) error

func TabWriter

func TabWriter(res interface{}, tmpl string)

Types

type Template added in v0.1.22

type Template struct {
	Name        string `yaml:"name"`
	Description string `yaml:"description"`
	Config      string `yaml:"config"`
	Type        string `yaml:"type"`
}

type TemplateIndex added in v0.1.22

type TemplateIndex struct {
	Templates []Template `yaml:"templates"`
}

Jump to

Keyboard shortcuts

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