Documentation ¶
Index ¶
- Variables
- func GetProfileFromPrompt(profiles []config.Profile, activeProfileName string, withNewProfile bool) (*config.Profile, error)
- func ListProfiles(profileList []config.Profile, activeProfileId string)
- func ProfileCreationView(c *config.Config, profileAddView *ProfileAddView, editing bool)
- func Render(info ProfileInfo, verb string)
- func SwitchToDefaultPrompt(profileSwitchCheck *bool)
- type ProfileAddView
- type ProfileInfo
- type RowData
Constants ¶
This section is empty.
Variables ¶
View Source
var NewProfileId = "+ New Profile"
Functions ¶
func GetProfileFromPrompt ¶ added in v0.13.0
func ListProfiles ¶
func ProfileCreationView ¶
func ProfileCreationView(c *config.Config, profileAddView *ProfileAddView, editing bool)
func Render ¶
func Render(info ProfileInfo, verb string)
func SwitchToDefaultPrompt ¶ added in v0.7.0
func SwitchToDefaultPrompt(profileSwitchCheck *bool)
Types ¶
type ProfileAddView ¶
type ProfileInfo ¶
Click to show internal directories.
Click to hide internal directories.