package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: May 9, 2026
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
PromptInput reads a line from stdin with an optional default value shown in brackets.
Resolve returns the effective value for a setting using priority:
CLI flag > env var > config profile
type Config struct {
CurrentProfile string `yaml:"current-profile"`
Profiles map[string]Profile `yaml:"profiles"`
}
type Profile struct {
APIURL string `yaml:"api-url"`
APIKey string `yaml:"api-key"`
ProjectID string `yaml:"project-id,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.