command

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CLI

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

CLI stands for Command Line Interface CLI interprets user input and executes commands

func NewCLI

func NewCLI(version string, writer io.Writer) (*CLI, error)

NewCLI creates new CLI instance provided version will be printed with --version CLI will write output to provided writer

func (*CLI) ApplyArgs

func (c *CLI) ApplyArgs(args []string) error

ApplyArgs runs the CLI against provided args

Jump to

Keyboard shortcuts

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