GLI
Make awesome command-line applications the easy way (by davetron5000)
Trollop
Optimist is a commandline option parser for Ruby that just gets out of your way. (by ManageIQ)
GLI | Trollop | |
---|---|---|
1 | 2 | |
1,241 | 244 | |
- | 0.4% | |
4.1 | 4.9 | |
9 months ago | 8 days ago | |
Ruby | Ruby | |
Apache License 2.0 | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
GLI
Posts with mentions or reviews of GLI.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-09.
-
Just: A Command Runner
I use https://github.com/davetron5000/gli for this, since I work in ruby. Adding something like just or gli to your project is a huge win. Every dev can just `just update_db` to refresh their dev db, `just update_secrets` to update dev secrets. Whatever. So much better than putting snippets in a wiki or whatever.
I like gli because it gives you subcommands, like `gli database refresh` etc.
Trollop
Posts with mentions or reviews of Trollop.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-07.
-
Command line parser library, which one do you like the most, regardless of language?
My favorite is probably trollop but I haven’t needed to write a cli in years. Clap is also great, but the best I’ve used is probably Click which is saying something because I absolutely hate Python. Also deploying is a completely separate problem from which library is best. Click is by far the worst to deploy, then Clap, then trollop.
- Show HN: Piou – Build beautiful command-line interfaces with type validation
What are some alternatives?
When comparing GLI and Trollop you can also consider the following projects:
Thor - Thor is a toolkit for building powerful command-line interfaces.
Commander - The complete solution for Ruby command-line executables
Rake - A make-like build utility for Ruby.
Slop - Simple Lightweight Option Parsing - ✨ new contributors welcome ✨
Clamp - a Ruby command-line application framework
Cocaine
Ru - Ruby in your shell!
TTY - Toolkit for developing sleek command line apps.