cli

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Import

func Import() *cli.Command

func ImportFunc

func ImportFunc(c *cli.Context) error

Types

type App

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

func NewApp

func NewApp() *App

func (*App) AppendCommand

func (a *App) AppendCommand(cmd ...*cli.Command)

func (*App) Default

func (a *App) Default()

func (*App) Run

func (a *App) Run(args []string) error

type Response

type Response struct {
	StatusCode int    `json:"status"`
	Data       []byte `json:"data"`
}

Jump to

Keyboard shortcuts

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