Registry / testing / rendon-testcli

rendon-testcli

JSON →
library1.0.0gogounverified

A minimalistic CLI testing package for Go that wraps os/exec to test command-line applications.

go get github.com/rendon/testcli
INSTALL
IMPORT
SIG · RENDON-TESTCLI
R
rendon-testcli
testinggov1.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

testcli
github.com/rendon/testcli

Run a simple echo command and capture output.

package main import ( "fmt" "github.com/rendon/testcli" ) func main() { c := testcli.Command("echo", "hello") c.Run() fmt.Println(c.Stdout()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
rendon-testcli — go get rendon-testcli · libregistry