prompts

package
v0.0.0-...-73d97a9 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BareRepoPrompt

func BareRepoPrompt() bool

func ConfigureAliasOptions

func ConfigureAliasOptions() string

func ConfigureEditorOptions

func ConfigureEditorOptions() string

func ConfigureTmuxOptions

func ConfigureTmuxOptions() bool

func ConfirmConfigurationOptions

func ConfirmConfigurationOptions(editor string, alias string, tmux bool, cm *conf.CfgManager) bool

func HtmlOrSsh

func HtmlOrSsh() string

func WelcomeDialog

func WelcomeDialog() string

Types

type PartialRepo

type PartialRepo struct {
	Name        string `json:"name"`
	Http_url    string `json:"html_url"`
	Ssh_url     string `json:"ssh_url"`
	Description string `json:"description"`
	Private     bool   `json:"private"`
}

func RepoPrompt

func RepoPrompt(repos []PartialRepo) (PartialRepo, error)

type WelcomePromptStruct

type WelcomePromptStruct struct {
	Name        string `json:"name"`
	Value       string `json:"value"`
	Description string `json:"description"`
}

Jump to

Keyboard shortcuts

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