repo

package
v1.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisplayRepos

func DisplayRepos(result *github.RepositoriesSearchResult, w io.Writer) error

DisplayRepos will display issues based on the given search criteria

func NewRepoCommand

func NewRepoCommand(client hagen.Provider) *cobra.Command

NewRepoCommand creates a new `repo` command

func NewRepoLsCommand

func NewRepoLsCommand(client hagen.Provider) *cobra.Command

NewRepoLsCommand creates a new `repo ls` command that lists the repos for the organisation

func NewSearchFromRepoOptions

func NewSearchFromRepoOptions(opts LsOptions) (string, github.SearchOptions)

NewSearchFromRepoOptions will return details that can perform a GitHub search

Types

type LsOptions

type LsOptions struct {
	Args     []string
	Count    int
	Query    string
	Template string
	Verbose  bool
}

LsOptions defines what arguments/options the user can provide for the `repo ls` command

Jump to

Keyboard shortcuts

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