cmd

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: AGPL-3.0 Imports: 24 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 CheckIfInstanceExists

func CheckIfInstanceExists(svc *ec2.EC2, instanceName string) (string, error)

CheckIfInstanceExists checks if an instance with the given name exists and returns the instance ID if it does

func Execute

func Execute() error

Execute executes the root command.

func PrettyPrint

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

func ReadConfig

func ReadConfig(filename string)

func TabWriter

func TabWriter(res interface{}, tmpl string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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