Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var HELP string
View Source
var Help = help.CmdHelp{ HelpTxt: HELP, HelpCtx: func(name string) any { return map[string]interface{}{ "Cmd": name, } }, }
View Source
var SpecRegexLine = regexp.MustCompile(`([^ ]+[^#]+)`)
Functions ¶
func InstallableOut ¶
func InstallableOut(res search.PackageSearchResults) (string, error)
Types ¶
type ListArgs ¶
type ListArgs struct {
OnJSON func() `long:"json" short:"j"`
OnText func() `long:"text" short:"t"`
OnInstallable func() `long:"installable" short:"i"`
OnFlake func() `long:"flake" short:"f"`
OnAll func() `long:"all" short:"a"`
OnOne func() `long:"one" short:"1"`
OnNixHub func() `long:"nixhub"`
OnLazamar func() `long:"lazamar"`
OnNixPackagesCom func() `long:"history"`
OnRead func(string) `long:"read" short:"r"`
ReadFiles []string
OutFmt OutFmt
ShowOpt ShowOpt
OnLazamarChannel func(string) `long:"channel"`
Color bool `long:"color" short:"C"`
// contains filtered or unexported fields
}
func NewListArgs ¶
func NewListArgs() *ListArgs
func (*ListArgs) ParseAndRun ¶
Click to show internal directories.
Click to hide internal directories.