pkg

package
v3.59.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2026 License: MIT Imports: 11 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidConfig = errors.New("invalid config")
	ErrAPIError      = errors.New("API error")
)

Functions

This section is empty.

Types

type PushCmd

type PushCmd struct {
	RegistrySlug  string `arg:"" required:"" help:"The slug of the registry to push the package to" `
	FilePath      string `xor:"input" help:"Path to the package file to push"`
	StdinFileName string `xor:"input" help:"The filename to use when reading the package from stdin"`
	StdInArg      string `arg:"" optional:"" hidden:"" help:"Use '-' as value to pass package via stdin. Required if --stdin-file-name is used."`
	Web           bool   `short:"w" help:"Open the pipeline in a web browser." `
}

func (*PushCmd) Help

func (c *PushCmd) Help() string

func (*PushCmd) Run

func (c *PushCmd) Run(kongCtx *kong.Context, globals cli.GlobalFlags) error

func (*PushCmd) Validate

func (c *PushCmd) Validate() error

Jump to

Keyboard shortcuts

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