interactive

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: Apache-2.0, MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartInteractive

func StartInteractive()

Types

type Command

type Command struct {
	Id            string `json:"id"`
	Icon          string `json:"icon"`
	IconEmoji     string `json:"icon_emoji"`
	IconNerdFont  string `json:"icon_nerdfont"`
	IconAscii     string `json:"icon_ascii"`
	Name          string `json:"name"`
	Shortcut      string `json:"shortcut"`
	Description   string `json:"description"`
	NextStep      string `json:"nextStep"`
	NextStepTitle string `json:"nextStepTitle"`
}

type CommandFlowResult

type CommandFlowResult struct {
	SelectedCommand     Command
	RepoUrlInput        string
	GitAddArguments     string
	CommitMessage       string
	SelectedBranch      string
	BranchAction        string
	NewBranchName       string
	DeleteBranchConfirm bool
}

type IconType

type IconType int
const (
	Unicode IconType = iota
	Emoji
	NerdFont
	Ascii
)

func (IconType) String

func (d IconType) String() string

Jump to

Keyboard shortcuts

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