cli

package
v0.0.0-...-0e93b89 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CmdFetch

func CmdFetch(_ *cobra.Command, _ []string) error

func CmdGraphs

func CmdGraphs(_ *cobra.Command, args []string) error

func CmdReport

func CmdReport(_ *cobra.Command, args []string) error

func GraphRepoOpenIssuesDaily

func GraphRepoOpenIssuesDaily(theCache *cache.Cache, outPath string, from, to time.Time) error

func Make

func Make(cmdName string) (*cobra.Command, error)

func ValidateParams

func ValidateParams(params []string) func(cmd *cobra.Command, args []string) error

Types

type DailyOpenIssues

type DailyOpenIssues struct {
	Date     time.Time
	Total    int
	Statuses map[string]int // jira status are freeform, so lets just allow any
}

type FlagData

type FlagData struct {
	Url       string
	User      string
	Token     string
	JQL       string
	Fields    []string
	Expand    []string
	CachePath string
}

func GetFlags

func GetFlags() FlagData

Jump to

Keyboard shortcuts

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