cmd

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 29, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisplayBoards

func DisplayBoards(client trello.API, opts ListBoardOptions, w io.Writer) error

DisplayBoards will render the boards you have access to

func DisplayBurndown

func DisplayBurndown(client trello.API, opts BurndownOptions, w io.Writer) error

DisplayBurndown will render burndown data using the story points associated with the card when you use the scrum for trello plugin

func DisplayCards

func DisplayCards(client trello.API, opts ListCardOptions, w io.Writer) error

DisplayCards will render the boards you have access to

func DisplayCardsForPeople

func DisplayCardsForPeople(client trello.API, opts ListCardPeopleOptions, w io.Writer) error

DisplayCardsForPeople will render the boards you have access to

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func NewBurndownCommand

func NewBurndownCommand(client trello.API) *cobra.Command

NewBurndownCommand creates a new `burndown` command

func NewCompletionCommand

func NewCompletionCommand(root *cobra.Command) *cobra.Command

NewCompletionCommand creates a new `completion` command

func NewListBoardsCommand

func NewListBoardsCommand(client trello.API) *cobra.Command

NewListBoardsCommand creates a new `boards` command

func NewListCardsCommand

func NewListCardsCommand(client trello.API) *cobra.Command

NewListCardsCommand creates a new `cards` command

func NewListCardsPeopleCommand

func NewListCardsPeopleCommand(client trello.API) *cobra.Command

NewListCardsPeopleCommand creates a new `people` command that will show all the cards for a given board displayed by assigned to

func NewRootCommand

func NewRootCommand() *cobra.Command

NewRootCommand will return the application

Types

type BurndownOptions

type BurndownOptions struct {
	Args []string
}

BurndownOptions provides the flags for the `cards` command

type ListBoardOptions

type ListBoardOptions struct {
	ShowClosed bool
	// contains filtered or unexported fields
}

ListBoardOptions provides the flags for the `boards` command

type ListCardOptions

type ListCardOptions struct {
	StripScrumTags bool
	Args           []string
}

ListCardOptions provides the flags for the `cards` command

type ListCardPeopleOptions

type ListCardPeopleOptions struct {
	Args []string
}

ListCardPeopleOptions provides the flags for the `people` command

type Person

type Person struct {
	ID         string
	FullName   string
	Cards      []trello.Card
	CardCount  int
	PointCount int
}

Person represents a person on the body, and what cards they have

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL