Registry / cli / cristalhq-acmd

cristalhq-acmd

JSON →
library0.12.0gogounverified

Package acmd is a simple, useful and opinionated CLI package in Go.

go get github.com/cristalhq/acmd
INSTALL
IMPORT
SIG · CRISTALHQ-ACMD
C
cristalhq-acmd
cligov0.12.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.

acmd
github.com/cristalhq/acmd

Defines a simple CLI command that prints 'Hello, world!'.

package main import ( "fmt" "github.com/cristalhq/acmd" ) func main() { cmd := acmd.Command{ Name: "hello", Description: "Prints hello", Exec: func(r *acmd.Request) error { fmt.Println("Hello, world!") return nil }, } app := acmd.New(cmd) app.Run() }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
24 hits · last 30 days
node
22
OpenAI (training)
1
Resources
cristalhq-acmd — go get cristalhq-acmd · libregistry