René's URL Explorer Experiment


Title: pressly/cli - a minimal Go library for building CLIs

Description: A small, intentionally minimal Go package for building CLI applications. Extends the standard library's flag package with subcommands, flag inheritance, and flags-anywhere parsing.

direct link

Domain: pressly.github.io

Links:

pressly/clihttps://pressly.github.io/
Quick starthttps://pressly.github.io/cli#quickstart
APIhttps://pressly.github.io/cli#api
Exampleshttps://pressly.github.io/cli#examples
Subpackages ▼https://pressly.github.io/cli#subpackages
flagtypehttps://pressly.github.io/flagtype/
gracefulhttps://pressly.github.io/graceful/
xflaghttps://pressly.github.io/xflag/
But why?https://pressly.github.io/cli#why
godochttps://pkg.go.dev/github.com/pressly/cli
githubhttps://github.com/pressly/cli
flags-anywherehttps://mfridman.com/blog/2024/allowing-flags-anywhere-on-the-cli/
Why this over cobra or urfave? →https://pressly.github.io/cli#why-compare
Parsehttps://pkg.go.dev/github.com/pressly/cli#Parse
Runhttps://pkg.go.dev/github.com/pressly/cli#Run
godochttps://pkg.go.dev/github.com/pressly/cli
func FlagsFunc(fn func(f *flag.FlagSet)) *flag.FlagSethttps://pkg.go.dev/github.com/pressly/cli#FlagsFunc
func GetFlag[T any](s *State, name string) Thttps://pkg.go.dev/github.com/pressly/cli#GetFlag
func Parse(root *Command, args []string) errorhttps://pkg.go.dev/github.com/pressly/cli#Parse
func ParseAndRun(ctx context.Context, root *Command, args []string, opts *RunOptions) errorhttps://pkg.go.dev/github.com/pressly/cli#ParseAndRun
func Run(ctx context.Context, root *Command, opts *RunOptions) errorhttps://pkg.go.dev/github.com/pressly/cli#Run
func UsageErrorf(format string, args ...any) errorhttps://pkg.go.dev/github.com/pressly/cli#UsageErrorf
type Commandhttps://pkg.go.dev/github.com/pressly/cli#Command
func (c *Command) Path() []*Commandhttps://pkg.go.dev/github.com/pressly/cli#Command.Path
type FlagConfighttps://pkg.go.dev/github.com/pressly/cli#FlagConfig
type RunOptionshttps://pkg.go.dev/github.com/pressly/cli#RunOptions
type Statehttps://pkg.go.dev/github.com/pressly/cli#State
anywhere on the command linehttps://pressly.github.io/cli#why-anywhere
flagtypehttps://pressly.github.io/flagtype/
gracefulhttps://pressly.github.io/graceful/
xflaghttps://pressly.github.io/xflag/
cobrahttps://github.com/spf13/cobra
urfave/clihttps://github.com/urfave/cli
konghttps://github.com/alecthomas/kong
flagtypehttps://pressly.github.io/flagtype/
open an issuehttps://github.com/pressly/cli/issues
xflaghttps://pressly.github.io/xflag/
generic methods landhttps://github.com/golang/go/issues/77273
lipglosshttps://github.com/charmbracelet/lipgloss
fatih/colorhttps://github.com/fatih/color
huhhttps://github.com/charmbracelet/huh
promptuihttps://github.com/manifoldco/promptui
viperhttps://github.com/spf13/viper
koanfhttps://github.com/knadh/koanf
envconfighttps://github.com/kelseyhightower/envconfig
flagtypehttps://pressly.github.io/flagtype/
gracefulhttps://pressly.github.io/graceful/
xflaghttps://pressly.github.io/xflag/
ffhttps://github.com/peterbourgon/ff
github.com/pressly/clihttps://github.com/pressly/cli
pkg.go.devhttps://pkg.go.dev/github.com/pressly/cli

Viewport: width=device-width, initial-scale=1


URLs of crawlers that visited me.