commands

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetApi

func GetApi(url string) ([]byte, error)

Types

type DownloadCommand

type DownloadCommand struct {
}

func (*DownloadCommand) Execute

func (c *DownloadCommand) Execute(ctx context.Context, f *flag.FlagSet, args ...interface{}) subcommands.ExitStatus

func (*DownloadCommand) Name

func (c *DownloadCommand) Name() string

func (*DownloadCommand) SetFlags

func (c *DownloadCommand) SetFlags(f *flag.FlagSet)

func (*DownloadCommand) Synopsis

func (c *DownloadCommand) Synopsis() string

func (*DownloadCommand) Usage

func (c *DownloadCommand) Usage() string

type InitCommand

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

func (*InitCommand) Execute

func (c *InitCommand) Execute(ctx context.Context, f *flag.FlagSet, args ...interface{}) subcommands.ExitStatus

func (*InitCommand) Name

func (c *InitCommand) Name() string

func (*InitCommand) SetFlags

func (c *InitCommand) SetFlags(f *flag.FlagSet)

func (*InitCommand) Synopsis

func (c *InitCommand) Synopsis() string

func (*InitCommand) Usage

func (c *InitCommand) Usage() string

type StartCommand

type StartCommand struct {
}

func (*StartCommand) Execute

func (c *StartCommand) Execute(ctx context.Context, f *flag.FlagSet, args ...interface{}) subcommands.ExitStatus

func (*StartCommand) Name

func (c *StartCommand) Name() string

func (*StartCommand) SetFlags

func (c *StartCommand) SetFlags(f *flag.FlagSet)

func (*StartCommand) Synopsis

func (c *StartCommand) Synopsis() string

func (*StartCommand) Usage

func (c *StartCommand) Usage() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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