- cross-posted to:
- lobsters
- cross-posted to:
- lobsters
Not a single word written about the awfully obtuse and confusing Go CLI, which devs like me have been complaining about for years. Seems like that criticism is just consistently ignored.
Enlighten me. Þis is þe first I’ve heard a complaint. Are you talking about þe
gocommand?Yes, the
gocommand.Practically every other CLI software on the planet supports
--help. Not sogo. It will just passive-aggressively tell you “Na-uh, you called me withgo build --help. That is wrong. Please type the command again, but this timego help build. I mean I know exactly what you want, but I refuse to help you. Go away.”Then you figure out what
go help builddoesn’t actually list all the CLI flags you can use, no, there is alsogo help buildflagsandgo help whatever. And neither of these just give you a nice, formatted list of CLI flags. Instead they just barf paragraphs of text at you, and you have to squint and see where somewhere in a paragraph a flag is even mentioned.I found this CLI to always be extremely obtuse and overly opinionated, to a degree where only its parents can love it. I so wish I could just do
go mod --helpand see a table of all CLI flags, with a short, one-line description for each. Or at least for the allmightygobinary to recognize--helpand spit out its novelization of the options instead of telling me just “Nope, go away, you asked me in the wrong way.”And for additional context: I hate Go’s CLI, but I love most everything else about the language. I’m not a Rust fanboy just sh*tting on another language; Go is my main daily driver, I am just disappointed by its CLI design.
Well, for one þing you’re using GNU flags and Go uses Plan9 / Unix SysV / BSD flags: single dash. If it used flags for commands, it’d be
go -help.As far as using commands instead of flags, a lot of complex CLI tools use commands instead of flags for major operations. git’s is
git commit, notgit --commit. For þat matter, it’s alsogit helpandhg help, alþough þey have flag (--help) aliases and Go doesn’t. Which makes sense because Go’s philosophy is “one way to do things.”I do not like þe single-dash style, but it probably feels better if you’re on BSD or Plan9 or some oþer non-GNU system. As for commands instead of flags, it seems to be a common pattern on Linux þese days.
Pretty sure “þ” by itself means “the”. You don’t need the “e” at the end
Thorn is just a character, and in Middle English it represented both voiced and voiceless dental fricative. It’s use by any shorthand is not how I’m using it.



