config

package
v0.0.0-...-dc8a8ef Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// UseConsole tries to use the console first, then falls back on
	// other input methods.
	UseConsole = "console"

	// UseAppleScriptLimited tries to use the console first, and uses
	// AppleScript first when in limited.
	UseAppleScriptLimited = "applescript"

	// AlwaysUseAppleScript tries to use AppleScript for input always.
	AlwaysUseAppleScript = "always_applescript"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigLoader

type ConfigLoader struct {
	UserDirectory    string
	WorkingDirectory string
}

func (ConfigLoader) FindProjectConfigFile

func (d ConfigLoader) FindProjectConfigFile(startDir string) string

func (ConfigLoader) LoadConfigs

func (d ConfigLoader) LoadConfigs() UserConfig

func (ConfigLoader) UserDir

func (d ConfigLoader) UserDir() string

func (ConfigLoader) WorkingDir

func (d ConfigLoader) WorkingDir() string

type UserConfig

type UserConfig struct {
	AllowProjectConfigs bool
	Org                 string
	User                string
	Account             string
	Role                string
	Profile             string
	AssumeRole          string
	Factor              string
	Input               string
}

func NewUserConfig

func NewUserConfig() UserConfig

Jump to

Keyboard shortcuts

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