Registry / cli / micro-cli

micro-cli

JSON →
library0.2.0gogounverified

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

go get github.com/micro/cli
INSTALL
IMPORT
SIG · MICRO-CLI
M
micro-cli
cligov0.2.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/micro/cli

Creates a simple CLI app that greets the first argument.

package main import "github.com/micro/cli" func main() { app := cli.NewApp() app.Name = "greet" app.Action = func(c *cli.Context) error { println("Hello " + c.Args().First()) return nil } app.RunAndExitOnError() }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

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