cmd

package module
v0.0.0-...-fe52a97 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2021 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorCode

type ErrorCode struct {
	Error error
	Code  int
}

ErrorCode represents the error and code to be returned by the command.

func Run

func Run(args []string, stdout io.Writer) ErrorCode

Run is the actual code for the command

Jump to

Keyboard shortcuts

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