Documentation
¶
Index ¶
- func ExitIfError(err error)
- func Fail(msg string, args ...interface{})
- func Failed(msg string, args ...interface{})
- func FormatDateTimeHuman(dt, format string) string
- func GetConfigHome() (string, error)
- func GetJiraIssueKey(project, key string) string
- func GetSubtaskHandle(issueType string, issueTypes []*jira.IssueType) string
- func GetTUIStyleConfig() tui.TableStyle
- func Info(msg string) *spinner.Spinner
- func Navigate(server, path string) error
- func NormalizeJiraError(msg string) string
- func ReadFile(filePath string) ([]byte, error)
- func StdinHasData() bool
- func Success(msg string, args ...interface{})
- func Warn(msg string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExitIfError ¶
func ExitIfError(err error)
ExitIfError exists with error message if err is not nil.
func Failed ¶
func Failed(msg string, args ...interface{})
Failed prints failure message in stderr and exits.
func FormatDateTimeHuman ¶
FormatDateTimeHuman formats date time in human readable format.
func GetConfigHome ¶
GetConfigHome returns the config home directory.
func GetJiraIssueKey ¶
GetJiraIssueKey constructs actual issue key based on given key.
func GetSubtaskHandle ¶ added in v1.0.0
GetSubtaskHandle fetches actual subtask handle. This value can either be handle or name based on the used jira version.
func GetTUIStyleConfig ¶ added in v1.1.0
func GetTUIStyleConfig() tui.TableStyle
GetTUIStyleConfig returns the custom style configured by the user.
func NormalizeJiraError ¶ added in v0.2.0
NormalizeJiraError normalizes error message we receive from jira.
func StdinHasData ¶
func StdinHasData() bool
StdinHasData checks if standard input has any data to be processed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.