packcmd

package
v0.23.1 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func New

func New(ctx context.Context) *cobra.Command

Types

type PackFormat added in v0.22.0

type PackFormat string
const (
	PackFormatTgz PackFormat = "tgz"
	PackFormatZip PackFormat = "zip"
)

func (*PackFormat) Set added in v0.22.0

func (e *PackFormat) Set(v string) error

Set must have pointer receiver so it doesn't change the value of a copy

func (*PackFormat) String added in v0.22.0

func (e *PackFormat) String() string

String is used both by fmt.Print and by Cobra in help text

func (*PackFormat) Type added in v0.22.0

func (e *PackFormat) Type() string

Type is only used in help text

type PackOptions added in v0.12.0

type PackOptions struct {
	FileName      string
	Prefix        string
	IncludeSource bool
	Format        PackFormat
}

Jump to

Keyboard shortcuts

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