ghubcmd

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GhOpts = struct {
	gitcmd.AutoGitDir
	cmdbiz.CommonOpts
}{}

GhOpts object

Functions

func NewApiCmd added in v0.3.0

func NewApiCmd() *gcli.Command

NewApiCmd groups github api commands.

func NewApiCommitCmd added in v0.3.0

func NewApiCommitCmd() *gcli.Command

NewApiCommitCmd groups github commit api commands.

func NewApiCommitLatestCmd added in v0.3.0

func NewApiCommitLatestCmd() *gcli.Command

NewApiCommitLatestCmd gets latest commit info by github api.

func NewApiTagAddCmd added in v0.3.0

func NewApiTagAddCmd() *gcli.Command

NewApiTagAddCmd creates an annotated tag by GitHub API.

func NewApiTagCmd added in v0.3.0

func NewApiTagCmd() *gcli.Command

NewApiTagCmd groups github tag api commands.

func NewApiTagListCmd added in v0.3.0

func NewApiTagListCmd() *gcli.Command

NewApiTagListCmd lists tags by github api.

func NewDownloadAssetCmd added in v0.3.0

func NewDownloadAssetCmd() *gcli.Command

NewDownloadAssetCmd instance

func NewGithubCmd added in v0.3.0

func NewGithubCmd() *gcli.Command

NewGithubCmd commands

Types

type ApiTagAddOptionsForTestType

type ApiTagAddOptionsForTestType = apiTagAddOptions

ApiTagAddOptionsForTestType exports test-only option shape.

var ApiTagAddOptionsForTest ApiTagAddOptionsForTestType

ApiTagAddOptionsForTest provides test access for input normalization.

func (*ApiTagAddOptionsForTestType) ToCreateInputForTest

func (o *ApiTagAddOptionsForTestType) ToCreateInputForTest() (ghapi.TagCreateInput, error)

ToCreateInputForTest converts options to API input in tests.

Jump to

Keyboard shortcuts

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