cli

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2022 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrBlankCommand = errors.New("empty input")

Functions

func GetCommand

func GetCommand(version string) *cobra.Command

Types

type CommandLine

type CommandLine struct {
	Host string
	Port int

	Ssl       bool
	NodeID    int
	Format    string
	Chunked   bool
	ChunkSize int
	Pretty    bool
	// contains filtered or unexported fields
}

func (*CommandLine) Run

func (c *CommandLine) Run() error

Jump to

Keyboard shortcuts

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