Registry / cli / spf13-cobra

spf13-cobra

JSON →
library1.10.2gogounverified

Package cobra is a commander providing a simple interface to create powerful modern CLI interfaces.

go get github.com/spf13/cobra
INSTALL
IMPORT
SIG · SPF13-COBRA
S
spf13-cobra
cligov1.10.2
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.

cobra
github.com/spf13/cobra

Creates a simple CLI command that prints a message.

package main import ( "fmt" "github.com/spf13/cobra" ) func main() { var rootCmd = &cobra.Command{Use: "app", Run: func(cmd *cobra.Command, args []string) { fmt.Println("Hello from Cobra!") }} rootCmd.Execute() }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
19 hits · last 30 days
node
16
OpenAI (training)
1
Resources