Registry / cli / gonuts-commander

gonuts-commander

JSON →
library0.4.1gogounverified

A Go library for building command-line applications with support for flags, commands, and subcommands.

go get github.com/gonuts/commander
INSTALL
IMPORT
SIG · GONUTS-COMMANDER
G
gonuts-commander
cligov0.4.1
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.

commander
github.com/gonuts/commander

Define and run a simple command.

package main import ( "fmt" "github.com/gonuts/commander" ) func main() { cmd := &commander.Command{ Run: func(cmd *commander.Command, args []string) error { fmt.Println("Hello!") return nil }, UsageLine: "hello", } cmd.Execute() }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
24 hits · last 30 days
node
24
Resources
gonuts-commander — go get gonuts-commander · libregistry