Do you write CLIs in #golang?
If you need to reach for a framework, I'd suggest checking out..
https://github.com/peterbourgon/ff/tree/master/ffcli …
- Simple API surface
- No global state
- Nice structural foundation for long term maintenance. Check out the objectctl example.
Great job @peterbourgon
-
-
i like this ffcli because it does the bare minimum and that's it. Similar to why I like chi router so much for web stuff (bias). also, if one follows the package layout (as in the example) it is easy to reason about as the CLI grows.

-
Going to take a look at this!
Kraj razgovora
Novi razgovor -
-
-
Yeah, the CLI stuff I do is usually kind of necessity driven and sort of one-off and single purpose. If I had to evolve and maintain them it would get ugly. This seems like a great option to modularize without imposing too much.
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.