Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllCommands ¶
AllCommands returns all the commands registered in the cmds module
Types ¶
type BaseCommand ¶
type BaseCommand struct {
// contains filtered or unexported fields
}
BaseCommand provides several basic fields which are generally always needed in command implementations.
func NewBaseCommand ¶
func NewBaseCommand() (*BaseCommand, error)
NewBaseCommand creates a new BaseCommand instance
type Command ¶
type Command interface { // Command returns a cli.Command to register with the command line // interface router Command() cli.Command }
Command wraps the Command() method. Which returns a cli.Command
type CreateCommand ¶
type CreateCommand struct {
*BaseCommand
}
CreateCommand implements Command for the create command. Which creates GitHub issues for the retrieved Jira issues..
func NewCreateCommand ¶
func NewCreateCommand() (*CreateCommand, error)
NewCreateCommand creates a new CreateCommand instance. An error is returned if one occurs.
func (CreateCommand) Command ¶
func (c CreateCommand) Command() cli.Command
Command implements Command.Command
type FetchCommand ¶
type FetchCommand struct {
*BaseCommand
}
FetchCommand implements Command for the fetch command. Which retrieves and stores state from the Jira and GitHub APIs.
func NewFetchCommand ¶
func NewFetchCommand() (*FetchCommand, error)
NewFetchCommand makes a new FetchCommand instance. An error is returned if one occurs.
func (FetchCommand) Command ¶
func (c FetchCommand) Command() cli.Command
Command implements Command.Command
type LinkCommand ¶
type LinkCommand struct {
*BaseCommand
}
LinkCommand implements Command for the link command. Which creates a relationship between a Jira and GitHub API entity.
func NewLinkCommand ¶
func NewLinkCommand() (*LinkCommand, error)
NewLinkCommand creates a new LinkCommand instance. An error is returned if one occurs.
func (LinkCommand) Command ¶
func (c LinkCommand) Command() cli.Command
Command implements Command.Command