Documentation ¶
Index ¶
- func NewQueryFromFlags(flags *pflag.FlagSet) zube.Query
- func PrintCard(account *models.Account, project *models.Project, card *models.Card)
- func PrintCards(cards *[]models.Card)
- func PrintComments(comments *[]models.Comment)
- func PrintEpics(epics *[]models.Epic)
- func PrintItems(items interface{})
- func PrintLabels(labels *[]models.Label)
- func PrintProjects(projects *[]models.Project)
- func PrintSources(sources *[]models.Source)
- func PrintSprints(sprints *[]models.Sprint)
- func PrintWorkspaces(workspaces *[]models.Workspace)
- func SnakeCaseToTitleCase(s string) string
- func StringPrompt(label string) string
- func TruncateString(s string, maxLen int) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewQueryFromFlags ¶
Constructs a zube `Query` from Cobra flags
func PrintCards ¶
func PrintComments ¶
func PrintEpics ¶
func PrintItems ¶
func PrintItems(items interface{})
PrintItems prints a slice of items in a formatted table
func PrintLabels ¶
func PrintProjects ¶
func PrintSources ¶
func PrintSprints ¶
func PrintWorkspaces ¶
func SnakeCaseToTitleCase ¶
Converts a snake case string (e.g. `in_progress`) to title case (e.g. `In Progress`)
func StringPrompt ¶
StringPrompt asks for a string value using the label
func TruncateString ¶
Returns a string truncated to the given `maxLen`
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.