cli

package
v0.0.0-...-d433642 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromArgs

func FromArgs(args []string) (tool.Instance, error)

FromArgs takes the command-line parameters and returns a new tool.Instance

func Parse

func Parse(args []string) (tool.Config, error)

Parse will generate a new tool.Config with the flags and parameters entered

func Run

func Run(args []string) int

Run takes in the command-line arguments parses them to create a tool.Instance runs the tool.Instance then prints out any errors that occurred and, if any, any matches found

Types

This section is empty.

Jump to

Keyboard shortcuts

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