command

package
v0.0.0-...-f36e55b Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetCommand

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

func NewGetCommand

func NewGetCommand(client interfaces.Client) *GetCommand

func (*GetCommand) Name

func (cmd *GetCommand) Name() string

func (*GetCommand) ParseFlags

func (cmd *GetCommand) ParseFlags(flags []string) error

func (*GetCommand) Run

func (cmd *GetCommand) Run() error

type ListCommand

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

func NewListCommand

func NewListCommand(client interfaces.Client) *ListCommand

func (*ListCommand) Name

func (cmd *ListCommand) Name() string

func (*ListCommand) ParseFlags

func (cmd *ListCommand) ParseFlags(flags []string) error

func (*ListCommand) Run

func (cmd *ListCommand) Run() error

type Parser

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

func NewParser

func NewParser(commands []interfaces.Command) *Parser

func (*Parser) Parse

func (p *Parser) Parse(args []string) error

type UploadCommand

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

func NewUploadCommand

func NewUploadCommand(client interfaces.Client) *UploadCommand

func (*UploadCommand) Name

func (cmd *UploadCommand) Name() string

func (*UploadCommand) ParseFlags

func (cmd *UploadCommand) ParseFlags(flags []string) error

func (*UploadCommand) Run

func (cmd *UploadCommand) Run() error

Jump to

Keyboard shortcuts

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