Registry / cli / urfave-cli-v1

urfave-cli-v1

JSON →
library1.20.0gogounverified

A minimal framework for creating and organizing command line Go applications.

go get gopkg.in/urfave/cli.v1
INSTALL
IMPORT
SIG · URFAVE-CLI-V1
U
urfave-cli-v1
cligov1.20.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
gopkg.in/urfave/cli.v1

Create a simple CLI app

package main import ( "fmt" "os" "gopkg.in/urfave/cli.v1" ) func main() { app := cli.NewApp() app.Name = "hello" app.Action = func(c *cli.Context) error { fmt.Println("Hello, world!") return nil } app.Run(os.Args) }
Debug
Known issues
breakingVersion 1 is deprecated; use v2 (github.com/urfave/cli/v2) for new projects.
fix
Migrate to github.com/urfave/cli/v2
affects: >=1.0.0
Upgrade
Version history
1.20.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
33 hits · last 30 days
node
28
Amazon
1
OpenAI (training)
1
Resources
urfave-cli-v1 — go get urfave-cli-v1 · libregistry