Registry / cli / alecthomas-kingpin-v3-unstable

alecthomas-kingpin-v3-unstable

JSON →
librarygogounverified

Kingpin is a command-line interface library for Go that supports flags, commands, and arguments with a fluent API.

go get gopkg.in/alecthomas/kingpin.v3-unstable
INSTALL
IMPORT
SIG · ALECTHOMAS-KINGPIN
A
alecthomas-kingpin-v3-unstable
cligo
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.

kingpin
gopkg.in/alecthomas/kingpin.v3-unstable

Define a boolean flag and parse command-line arguments.

import "gopkg.in/alecthomas/kingpin.v3-unstable" var ( debug = kingpin.Flag("debug", "Enable debug mode").Bool() ) func main() { kingpin.Parse() }
Debug
Known issues
breakingThis version is marked as unstable and may have breaking changes.
fix
Use the stable v2 version (gopkg.in/alecthomas/kingpin.v2) for production.
affects: v3-unstable
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Dependencies

No dependency data recorded yet.

Agent activity
34 hits · last 30 days
node
30
Perplexity
1
Resources
alecthomas-kingpin-v3-unstable — go get alecthomas-kingpin-v3-unstable · libregistry