args

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	Command Command
	Args    []any
}

Args is a struct presenting arguments of gh-issue program.

func CommandArgumentsClose

func CommandArgumentsClose() (*Args, err.Context)

func CommandArgumentsCloseConfig added in v1.3.0

func CommandArgumentsCloseConfig() (*Args, err.Context)

func CommandArgumentsGenerateMd

func CommandArgumentsGenerateMd() (*Args, err.Context)

func CommandArgumentsGenerateMdConfig added in v1.3.0

func CommandArgumentsGenerateMdConfig() (*Args, err.Context)

func CommandArgumentsGet

func CommandArgumentsGet() (*Args, err.Context)

func CommandArgumentsGetConfig added in v1.3.0

func CommandArgumentsGetConfig() (*Args, err.Context)

func New

func New() (*Args, err.Context)

New creates and returns a pointer to Args, along with the possible encountered error.

type Command

type Command string
const (
	CommandGet       Command = "get"
	CommandGetConfig Command = "get-config"

	CommandClose       Command = "close"
	CommandCloseConfig Command = "close-config"

	CommandGenerateMd       Command = "generate-md"
	CommandGenerateMdConfig Command = "generate-md-config"
)

Jump to

Keyboard shortcuts

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