Documentation
¶
Index ¶
- Variables
- 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 QueryEditorInput(repo repository.RepoCommonStorage, preQuery string) (string, error)
Constants ¶
This section is empty.
Variables ¶
var ErrEmptyMessage = errors.New("empty message")
ErrEmptyMessage is returned when the required message has not been entered
var ErrEmptyTitle = errors.New("empty title")
ErrEmptyTitle is returned when the required title has not been entered
Functions ¶
func BugCommentEditorInput ¶
func BugCommentEditorInput(repo repository.RepoCommonStorage, preMessage string) (string, error)
BugCommentEditorInput will open the default editor in the terminal with a template for the user to fill. The file is then processed to extract a comment.
func BugCommentFileInput ¶
BugCommentFileInput read from either from a file or from the standard input and extract a message
func BugCreateEditorInput ¶
func BugCreateEditorInput(repo repository.RepoCommonStorage, preTitle string, preMessage string) (string, string, error)
BugCreateEditorInput will open the default editor in the terminal with a template for the user to fill. The file is then processed to extract title and message.
func BugCreateFileInput ¶
BugCreateFileInput read from either from a file or from the standard input and extract a title and a message
func BugTitleEditorInput ¶
func BugTitleEditorInput(repo repository.RepoCommonStorage, preTitle string) (string, error)
BugTitleEditorInput will open the default editor in the terminal with a template for the user to fill. The file is then processed to extract a title.
func QueryEditorInput ¶
func QueryEditorInput(repo repository.RepoCommonStorage, preQuery string) (string, error)
QueryEditorInput will open the default editor in the terminal with a template for the user to fill. The file is then processed to extract a query.
Types ¶
This section is empty.