profile

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NewProfileId = "+"

Functions

func GetProfileIdFromPrompt

func GetProfileIdFromPrompt(profileList []config.Profile, activeProfileId, title string, withCreateOption bool) string

func ListProfiles

func ListProfiles(profileList []config.Profile, activeProfileId string)

func ProfileCreationView

func ProfileCreationView(c *config.Config, profileAddView *ProfileAddView, editing bool)

func Render

func Render(info ProfileInfo, verb string)

Types

type ProfileAddView

type ProfileAddView struct {
	ProfileName string
	ApiUrl      string
}

type ProfileInfo

type ProfileInfo struct {
	ProfileName string
	ApiUrl      string
	ProfilePath string
}

Jump to

Keyboard shortcuts

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