pkg

package
v3.18.0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2026 License: MIT Imports: 11 Imported by: 0

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