cli

package
v0.0.0-...-a24af58 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main(w io.Writer, args []string) error

Main is the main entrypoint to our Grreeting CLI used by the actual main program as a wrapper to faviliate integration testing

func Run

func Run() int

Run runs the Main entrypoint and returns 1 on error or 0 on success, this is mostly useful to faciliate e2e integration testing of the CLI. It passes `os.Stdout` as the output `io.Writer` and `os.Args[:]` as the args passed to `Main`.

Types

This section is empty.

Jump to

Keyboard shortcuts

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