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 Info(msg string) *spinner.Spinner
- func Navigate(server, path string) error
- func ReadFile(filePath string) ([]byte, error)
- func StdinHasData() bool
- func Success(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 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.