app

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BranchTicketSeparator = "-"
)
View Source
const (
	MergeRequestTicketSeparator = ":"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	// contains filtered or unexported fields
}

func New

func New(l *log.Logger) (*App, error)

func (*App) Commands

func (a *App) Commands() []*cli.Command

func (*App) Log

func (a *App) Log() *log.Logger

func (*App) Theme

func (a *App) Theme() *style.Theme

type BranchCmd

type BranchCmd struct {
	// contains filtered or unexported fields
}

func NewBranchCmd

func NewBranchCmd(l *log.Logger, c *config.C, t *style.Theme) *BranchCmd

func (*BranchCmd) Action

func (cmd *BranchCmd) Action(_ context.Context, c *cli.Command) error

func (*BranchCmd) BeforeAction

func (cmd *BranchCmd) BeforeAction(ctx context.Context, c *cli.Command) (context.Context, error)

func (*BranchCmd) Command

func (cmd *BranchCmd) Command() *cli.Command

func (*BranchCmd) ListJiraTicketsOpts

func (cmd *BranchCmd) ListJiraTicketsOpts() ([]huh.Option[*jira.Ticket], error)

type ConfigCmd

type ConfigCmd struct {
	// contains filtered or unexported fields
}

func NewConfigCmd

func NewConfigCmd(l *log.Logger, t *style.Theme) *ConfigCmd

func (*ConfigCmd) Command

func (c *ConfigCmd) Command() *cli.Command

func (*ConfigCmd) InitAction

func (c *ConfigCmd) InitAction(_ context.Context, _ *cli.Command) error

func (*ConfigCmd) ShowAction

func (c *ConfigCmd) ShowAction(_ context.Context, _ *cli.Command) error

type MergeRequestCreateCmd added in v0.2.4

type MergeRequestCreateCmd struct {
	// contains filtered or unexported fields
}

func NewMergeRequestCreateCmd added in v0.2.4

func NewMergeRequestCreateCmd(l *log.Logger, c *config.C, t *style.Theme) *MergeRequestCreateCmd

func (*MergeRequestCreateCmd) Action added in v0.2.4

func (*MergeRequestCreateCmd) BeforeAction added in v0.2.4

func (mr *MergeRequestCreateCmd) BeforeAction(ctx context.Context, cmd *cli.Command) (context.Context, error)

func (*MergeRequestCreateCmd) Command added in v0.2.4

func (mr *MergeRequestCreateCmd) Command() *cli.Command

type MergeRequestViewCmd added in v0.2.4

type MergeRequestViewCmd struct {
	// contains filtered or unexported fields
}

func NewMergeRequestViewCmd added in v0.2.4

func NewMergeRequestViewCmd(l *log.Logger, c *config.C, t *style.Theme) *MergeRequestViewCmd

func (*MergeRequestViewCmd) Action added in v0.2.4

func (*MergeRequestViewCmd) BeforeAction added in v0.2.4

func (mr *MergeRequestViewCmd) BeforeAction(ctx context.Context, cmd *cli.Command) (context.Context, error)

func (*MergeRequestViewCmd) Command added in v0.2.4

func (mr *MergeRequestViewCmd) Command() *cli.Command

Jump to

Keyboard shortcuts

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