Help us shape the future of Go! Take the 2026 Go Developer Survey

args

package
v0.6.7 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCommonFlags

func AddCommonFlags(cmd *cobra.Command, flags *CommonFlags)

AddCommonFlags adds common gh issue list compatible flags to the command

func AddProjectFlags

func AddProjectFlags(cmd *cobra.Command)

AddProjectFlags adds project-specific flags to the command

func ParseCommonFlags

func ParseCommonFlags(cmd *cobra.Command, flags *CommonFlags) (*filter.IssueFilters, error)

ParseCommonFlags extracts common filters from command flags

func ParseProjectFlags

func ParseProjectFlags(cmd *cobra.Command, filters *filter.IssueFilters) error

ParseProjectFlags extracts project-specific filters from command flags

Types

type CommonFlags

type CommonFlags struct {
	Label     string
	Assignee  string
	Author    string
	State     string
	Milestone string
	Search    string
	Limit     string
	Mention   string
	App       string
}

CommonFlags contains flag names used across commands

func DefaultFlags

func DefaultFlags() *CommonFlags

DefaultFlags returns the default flag names

Jump to

Keyboard shortcuts

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