Urfave CLI

Build Go command-line applications with urfave/cli v3 — commands, subcommands, flags, env var binding, Before/After hooks, shell completion, and testing. Use when creating or modifying a Go CLI entry point (main.go), adding subcommands, wiring flags to environment variables, customizing help output, or testing CLI behavior. Covers the cli.Command declarative API, flag types (StringFlag, IntFlag, BoolFlag, DurationFlag, StringSliceFlag, TimestampFlag, etc.), cli.Exit exit codes, and context.Context propagation into actions.

brojonat 160d2e8 29.6 KB Updated

File contents

brojonat/llmsrules/tree/main/skills/urfave-cli commit 160d2e8717

Frequently asked questions

npx skillmds@latest add brojonat/urfave-cli