cli

command
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2025 License: MIT Imports: 3 Imported by: 0

README

This example showcases how to use this package to smoke test/end-to-end test(whatever you want to call it) a CLI application.

We capture the expected output of the CLI application, and compare that to what we get from the code itself. Using the snap package allows for easy automatic updating of the expected values(exit code, stdout, stderr) when they differ.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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