Registry / cli / ghetzel-cli

ghetzel-cli

JSON →
library1.17.0gogounverified

Package cli provides a minimal framework for creating and organizing command line Go applications.

go get github.com/ghetzel/cli
INSTALL
IMPORT
SIG · GHETZEL-CLI
G
ghetzel-cli
cligov1.17.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.

cli
github.com/ghetzel/cli

Create a simple CLI application with a single action.

package main import ( "fmt" "github.com/ghetzel/cli" ) func main() { app := cli.NewApp() app.Name = "myapp" app.Action = func(c *cli.Context) error { fmt.Println("Hello!") return nil } app.RunAndExitOnError() }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
26 hits · last 30 days
node
24
OpenAI (training)
1
Resources
ghetzel-cli — go get ghetzel-cli · libregistry