Registry / cli / micro-cli-v2

micro-cli-v2

JSON →
library2.1.2gogounverified

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

go get github.com/micro/cli/v2
INSTALL
IMPORT
SIG · MICRO-CLI-V2
M
micro-cli-v2
cligov2.1.2
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/micro/cli/v2

Create a simple CLI app with a single action.

package main import ( "fmt" "os" "github.com/micro/cli/v2" ) func main() { app := &cli.App{ Name: "greet", Action: func(c *cli.Context) error { fmt.Println("Hello, world!") return nil }, } app.Run(os.Args) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
20 hits · last 30 days
node
20
Resources
micro-cli-v2 — go get micro-cli-v2 · libregistry