cmd

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

func ReadConfig

func ReadConfig(configFilePath string, profilesToFetch []string) ([]ui.Stack, error)

Types

type T

type T struct {
	Profiles []struct {
		Name   string `yaml:"name"`
		Stacks []struct {
			Name           string  `yaml:"name"`
			Region         string  `yaml:"region"`
			Local          string  `yaml:"local"`
			Tag            *string `yaml:"tag,omitempty"`
			RefreshCommand *string `yaml:"refreshCommand,omitempty"`
		} `yaml:"stacks"`
	} `yaml:"profiles"`
	GlobalRefreshCommand string `yaml:"globalRefreshCommand"`
}

Jump to

Keyboard shortcuts

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