cmd

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PackCmd

type PackCmd struct {
	// contains filtered or unexported fields
}

PackCmd will pack any directory into a pbo file.

func (*PackCmd) Execute

func (u *PackCmd) Execute(_ context.Context, f *flag.FlagSet, _ ...interface{}) subcommands.ExitStatus

Execute parses and executes the input.

func (*PackCmd) Name

func (*PackCmd) Name() string

Name returns the name of this command.

func (*PackCmd) SetFlags

func (u *PackCmd) SetFlags(f *flag.FlagSet)

SetFlags registers all flags for this command.

func (*PackCmd) Synopsis

func (*PackCmd) Synopsis() string

Synopsis returns the synopsis of this command.

func (*PackCmd) Usage

func (*PackCmd) Usage() string

Usage returns the usage of this command.

type UnpackCmd

type UnpackCmd struct {
	// contains filtered or unexported fields
}

UnpackCmd is used to unpack pbo files into directories.

func (*UnpackCmd) Execute

func (u *UnpackCmd) Execute(_ context.Context, f *flag.FlagSet, _ ...interface{}) subcommands.ExitStatus

Execute parses and executes the input.

func (*UnpackCmd) Name

func (*UnpackCmd) Name() string

Name returns the name of this command.

func (*UnpackCmd) SetFlags

func (u *UnpackCmd) SetFlags(f *flag.FlagSet)

SetFlags registers all flags for this command.

func (*UnpackCmd) Synopsis

func (*UnpackCmd) Synopsis() string

Synopsis returns the synopsis of this command.

func (*UnpackCmd) Usage

func (*UnpackCmd) Usage() string

Usage returns the usage of this command.

type ValidateCmd

type ValidateCmd struct {
}

ValidateCmd is used to validate pbo files.

func (*ValidateCmd) Execute

func (*ValidateCmd) Execute(_ context.Context, flags *flag.FlagSet, _ ...interface{}) subcommands.ExitStatus

Execute parses and executes the input.

func (*ValidateCmd) Name

func (*ValidateCmd) Name() string

Name returns the name of this command.

func (*ValidateCmd) SetFlags

func (*ValidateCmd) SetFlags(_ *flag.FlagSet)

SetFlags registers all flags for this command.

func (*ValidateCmd) Synopsis

func (*ValidateCmd) Synopsis() string

Synopsis returns the synopsis of this command.

func (*ValidateCmd) Usage

func (*ValidateCmd) Usage() string

Usage returns the usage of this command.

type VersionCmd

type VersionCmd struct {
}

VersionCmd is used to show the current version.

func (*VersionCmd) Execute

func (*VersionCmd) Execute(_ context.Context, _ *flag.FlagSet, _ ...interface{}) subcommands.ExitStatus

Execute parses and executes the input.

func (*VersionCmd) Name

func (*VersionCmd) Name() string

Name returns the name of this command.

func (*VersionCmd) SetFlags

func (*VersionCmd) SetFlags(_ *flag.FlagSet)

SetFlags registers all flags for this command.

func (*VersionCmd) Synopsis

func (*VersionCmd) Synopsis() string

Synopsis returns the synopsis of this command.

func (*VersionCmd) Usage

func (*VersionCmd) Usage() string

Usage returns the usage of this command.

Jump to

Keyboard shortcuts

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