urfave/cli
View on GitHub ↗ ★ 24,308 Go
A declarative, simple, fast, and fun package for building command line tools in Go
20 mentions on Hacker News by 19 people: 3 stories, 17 comments · first 2013-07-22 · latest 2025-03-23
20082026
-
Interesting. I used https://github.com/urfave/cli in the past and was pretty happy with it. However sometimes it's good to try something New :-)
comment by sandreas · 2025-03-23 · in argp: GNU-style command line argument parser for Go -
…a much better experience with https://github.com/alecthomas/kong , and I've heard good things about https://github.com/urfave/cli , so I would recommend those over Cobra.
comment by imiric · 2025-03-23 · in argp: GNU-style command line argument parser for Go -
I use https://pkg.go.dev/github.com/urfave/cli/v3 in my Go programs, and it does enough validation that this has never been a problem in practice, especially when paired with a simple config scheme (see my other comment).
comment by omginternets · 2023-09-13 · in What is wrong with TOML? (2019) -
I like https://github.com/urfave/cli
comment by icholy · 2023-05-23 · in How to start a Go project in 2023 -
…$GOROOT) /home/user/go/src/github.com/sirupsen/logrus (from $GOPATH) main.go:10:2: cannot find package "github.com/urfave/cli/v2" in any of: /usr/lib/go-1.10/src/github.com/urfave/cli/v2 (from $GOROOT)…
comment by jll29 · 2022-11-20 · in Show HN: Rssnix – Unix-style filesystem-based RSS/Atom/JSON Feed fetcher/reader -
…This can be easily added to CI to avoid having to maintain a separate man page. [1]: https://pkg.go.dev/github.com/urfave/cli/v2#App.ToManWithSec...
comment by oxplot · 2022-06-22 · in Viddy: A modern watch command. Time machine and pager etc. -
…quite a lot of rust as well as go). That's my whole point. It should be compared to something like https://github.com/urfave/cli . That would be a fairer comparison.
comment by alain_gilbert · 2021-12-16 · in Go 1.18 Beta 1 is available, with generics -
…be probably easier to have a convention of programs to output their autocompletion options similar to how github.com/urfave/cli does. https://github.com/urfave/cli/tree/master/autocomplete
comment by rmetzler · 2020-12-05 · in CLI Guidelines – A guide to help you write better command-line programs -
My Opinion: The best cli lib I found: https://github.com/urfave/cli For deployment I recommend: https://github.com/goreleaser/goreleaser During development I recommend: https://github.com/golangci/golangci-lint and…
comment by sandreas · 2020-05-27 · in Diving into Go by building a CLI application -
…of https://github.com/spf13/cobra . I would love to hear why they chose cobra over something like https://github.com/urfave/cli
comment by SomaticPirate · 2019-11-05 · in Stripe CLI -
I use github.com/urfave/cli, but I almost always end up wrapping it with my own declarative framework. Gradually said framework is becoming more general purpose and suitable for general use, at which point I'll probably open source it and…
comment by weberc2 · 2019-03-20 · in Docli – A declarative language for command-line interfaces in Go -
…with Go, so if someone on my team wasn't on the same OS as me I could support them as well [1] https://github.com/urfave/cli
comment by tylerpachal · 2016-11-17 · in Show HN: Dave – CLI Personal assistant written in Go -
…CLI apps, this library is definitely useful if you're willing to pull in a third-party dependency: https://github.com/codegangsta/cli
comment by travjones · 2016-02-03 · in The State of Go: Where we are in February 2016 -
…a nice alternative to flag, with perks--not the least of which is beautifully formatted help text. https://github.com/codegangsta/cli
comment by pico303 · 2015-03-15 · in The importance of user interface, illustrated by the Go flag package -
…if you just need flag parsing. I've also heard good things about https://github.com/spf13/cobra and https://github.com/codegangsta/cli .
comment by motter · 2015-01-03 · in GitHub's “hub” tool rewritten in Golang -
…has created a library to help write CLI apps in Go [1] and gives an example of how to use it. [1] https://github.com/codegangsta/cli
comment by eliot_sykes · 2013-11-14 · in Why I switched from Ruby to Go -
…having a lot of fun in Go so far and encourage anyone who hasn't given it a shot to try it out. https://github.com/codegangsta/cli
comment by codegangsta · 2013-07-22 · in On Distributing Command Line Applications: Why I Switched From Ruby to Go