Versions in this module Expand all Collapse all v0 v0.8.0 Nov 20, 2022 Changes in this version + var ErrEmptyMessage = errors.New("empty message") + var ErrEmptyTitle = errors.New("empty title") + func BugCommentEditorInput(repo repository.RepoCommonStorage, preMessage string) (string, error) + func BugCommentFileInput(fileName string) (string, error) + func BugCreateEditorInput(repo repository.RepoCommonStorage, preTitle string, preMessage string) (string, string, error) + func BugCreateFileInput(fileName string) (string, string, error) + func BugTitleEditorInput(repo repository.RepoCommonStorage, preTitle string) (string, error) + func IsURL(name string, value string) (string, error) + func Prompt(prompt, name string, validators ...PromptValidator) (string, error) + func PromptChoice(prompt string, choices []string) (int, error) + func PromptCredential(target, name string, credentials []auth.Credential, choices []string) (auth.Credential, int, error) + func PromptDefault(prompt, name, preValue string, validators ...PromptValidator) (string, error) + func PromptPassword(prompt, name string, validators ...PromptValidator) (string, error) + func PromptURLWithRemote(prompt, name string, validRemotes []string, validators ...PromptValidator) (string, error) + func QueryEditorInput(repo repository.RepoCommonStorage, preQuery string) (string, error) + func Required(name string, value string) (string, error) + type PromptValidator func(name string, value string) (complaint string, err error)