new

package
v1.0.1 Latest Latest
Warning

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

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

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,
		}
	},
}

Functions

func FlakeCode

func FlakeCode(f *flake.Context, res search.PackageSearchResults) (string, error)

Types

type InitArgs

type InitArgs struct {
	OnNixHub         func()       `long:"nixhub" short:"n"`
	OnLazamar        func()       `long:"lazamar" short:"l"`
	OnLazamarChannel func(string) `long:"channel" short:"c"`
	OnNixPackagesCom func()       `long:"history" short:"h"`
	NtvFlake         string       `long:"override-ntv"`
	// contains filtered or unexported fields
}

func NewInitArgs

func NewInitArgs() *InitArgs

func (*InitArgs) Parse

func (a *InitArgs) Parse(args []string) error

func (*InitArgs) ParseAndRun

func (a *InitArgs) ParseAndRun(args []string) error

func (*InitArgs) Run

func (a *InitArgs) Run() error

Jump to

Keyboard shortcuts

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