cli

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Capture

func Capture(ctx context.Context, cli CLI, args []string) (string, string, error)

func Get

func Get(ctx context.Context, cli CLI) error

func Run

func Run(ctx context.Context, cli CLI, args []string, stdout, stderr io.Writer) error

Types

type CLI

type CLI interface {
	Name() string
	Version() string
	Path() string
	Dir() string
	URL() string
	Envs() []string
}

Jump to

Keyboard shortcuts

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