repo

package
v0.0.0-...-b5a03d5 Latest Latest
Warning

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

Go to latest
Published: May 23, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BranchesCommand

type BranchesCommand struct {
	Owner string
	Repo  string
	Limit int

	subcommand.BaseCommand
}

BranchesCommand describe a subcommand to fetch branches.

func NewBranchesCommand

func NewBranchesCommand(owner string, repo string, args []string) BranchesCommand

NewBranchesCommand return an instance of BranchesCommand

func (BranchesCommand) Run

func (cmd BranchesCommand) Run(ctx context.Context, wf *aw.Workflow)

Run start this subcommand.

type HelpCommand

type HelpCommand struct {
	Owner string
	Repo  string

	Limit int

	subcommand.BaseCommand
}

HelpCommand describe a subcommand to show the repo subcommand.

func NewHelpCommand

func NewHelpCommand(owner string, repo string, args []string) HelpCommand

NewHelpCommand return an instance of this subcommand.

func (HelpCommand) Run

func (cmd HelpCommand) Run(ctx context.Context, wf *aw.Workflow)

Run start this subcommand

type IssueCommand

type IssueCommand struct {
	Owner string
	Repo  string

	Limit int

	subcommand.BaseCommand
}

IssueCommand describe a subcommand to fetch issues

func NewIssueCommand

func NewIssueCommand(owner string, repo string, args []string) IssueCommand

NewIssueCommand return a IssueCommand instance

func (IssueCommand) Run

func (cmd IssueCommand) Run(ctx context.Context, wf *aw.Workflow)

Run start this subcommand.

type MilestonesCommand

type MilestonesCommand struct {
	Owner string
	Repo  string
	Limit int

	subcommand.BaseCommand
}

MilestonesCommand describe a subcommand to fetch milestones.

func NewMilestonesCommand

func NewMilestonesCommand(owner string, repo string, args []string) MilestonesCommand

NewMilestonesCommand return a MilestonesCommand instance

func (MilestonesCommand) Run

func (cmd MilestonesCommand) Run(ctx context.Context, wf *aw.Workflow)

Run start this subcommand

type NewCommand

type NewCommand struct {
	Owner string
	Repo  string

	subcommand.BaseCommand
}

func NewNewCommand

func NewNewCommand(owner string, repo string, args []string) NewCommand

NewNewCommand return an instance of this subcommand.

func (NewCommand) Run

func (cmd NewCommand) Run(ctx context.Context, wf *aw.Workflow)

type ProjectsCommand

type ProjectsCommand struct {
	Owner string
	Repo  string
	Limit int

	subcommand.BaseCommand
}

ProjectsCommand describe a subcommand to fetch projects

func NewProjectsCommand

func NewProjectsCommand(owner string, repo string, args []string) ProjectsCommand

NewProjectsCommand return a ProjectsCommand instance

func (ProjectsCommand) Run

func (cmd ProjectsCommand) Run(ctx context.Context, wf *aw.Workflow)

Run start this subcommand.

type PullsCommand

type PullsCommand struct {
	Owner string
	Repo  string

	Limit int

	subcommand.BaseCommand
}

PullsCommand describe a subcommand to fetch pull requests

func NewPullsCommand

func NewPullsCommand(owner string, repo string, args []string) PullsCommand

NewPullsCommand return an instance of PullsCommand

func (PullsCommand) Run

func (cmd PullsCommand) Run(ctx context.Context, wf *aw.Workflow)

Run start this subcommand.

type ReleasesCommand

type ReleasesCommand struct {
	Owner string
	Repo  string
	Limit int

	subcommand.BaseCommand
}

func NewReleasesCommand

func NewReleasesCommand(owner string, repo string, args []string) ReleasesCommand

func (ReleasesCommand) Run

func (cmd ReleasesCommand) Run(ctx context.Context, wf *aw.Workflow)

Jump to

Keyboard shortcuts

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