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." `
}
type RegistryUpdateCmd ¶ added in v3.70.0
type RegistryUpdateCmd struct {
RegistrySlug string `arg:"" help:"Slug of the Packages registry to update"`
Visibility string `required:"" enum:"public,private" help:"Set the Packages registry visibility: public or private"`
output.OutputFlags
}
func (*RegistryUpdateCmd) Help ¶ added in v3.70.0
func (c *RegistryUpdateCmd) Help() string
func (*RegistryUpdateCmd) Run ¶ added in v3.70.0
func (c *RegistryUpdateCmd) Run(kongCtx *kong.Context, globals cli.GlobalFlags) error
Click to show internal directories.
Click to hide internal directories.