cmd

package
v0.0.0-...-1a7c62c Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2017 License: MIT Imports: 21 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "github-cli",
	Short: "Use github-cli to perform github tasks.",
	Long:  "Use github-cli to perform github tasks.",
}

RootCmd is the github-cli root command.

Functions

func Execute

func Execute()

Execute runs the root command.

Types

type CreateRepoOptions

type CreateRepoOptions struct {
	Name      string
	IsPrivate string
}

CreateRepoOptions holds options for creating a repo.

type DeleteRepoOptions

type DeleteRepoOptions struct {
	Name      string
	IsPrivate string
}

DeleteRepoOptions holds options for deleting a repo.

type GetRepoOptions

type GetRepoOptions struct {
	Name      string
	IsPrivate string
}

GetRepoOptions holds options for fetching repo.

type Repo

type Repo struct {
	URL      string
	Language string
	Stars    int
	Forks    int
}

Repo is struct of a repo that is used in get_repos table view.

func (Repo) RepoString

func (r Repo) RepoString() []string

RepoString converts all the attributes of Repo into an array of strings. Used in appending table in tablewriter.

Jump to

Keyboard shortcuts

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