getoptlong
The GetoptLong class allows you to parse command line options similarly to the GNU getopt_long() C library call. (by ruby)
cli-kit
Framework/Engine for command line interfaces (by Shopify)
Scout Monitoring - Rennaisance engineers rejoice! 1 gem 5 min to app monitoring
5-minute onboarding. No sales team. Devs in the support channels. No DevOps team required. Get the free app insights every engineer deserves with Scout Monitoring.
https://www.scoutapm.com/ruby-monitoring?utm_source=libhunt_ruby&utm_medium=affiliate&utm_campaign=june24&utm_content=newsletter_ad
featured
getoptlong | cli-kit | |
---|---|---|
1 | 1 | |
5 | 146 | |
- | 1.4% | |
3.1 | 7.9 | |
7 months ago | 5 days ago | |
Ruby | Ruby | |
BSD 2-clause "Simplified" License | 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.
getoptlong
Posts with mentions or reviews of getoptlong.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-04-27.
-
CLI in ruby using OptionParser or GetoptLong
We will start with GetoptLong library.
cli-kit
Posts with mentions or reviews of cli-kit.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-04-27.
-
CLI in ruby using OptionParser or GetoptLong
Few days ago I've created a script for the project I'm working on. It was an ugly script with hardcoded values, but it did ther job - create tokens on request. But I've decided to improve it a bit, because sometimes I needed to change params and I've added ability to submit params from the command line. Of course, there are a lot of awesome libraries such as dry-cli, TTY Toolkit or cli-kit from Shopify, but in most cases you can use standard ruby libraries like OptionParser or GetoptLong. Lets see how you can create a CLI utils with those libraries just in few minutes.