dry-cli
dry-auto_inject
dry-cli | dry-auto_inject | |
---|---|---|
2 | 1 | |
321 | 177 | |
0.0% | 0.0% | |
6.1 | 5.7 | |
4 months ago | 4 months ago | |
Ruby | Ruby | |
MIT License | MIT License |
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.
dry-cli
-
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.
-
Performance e elegância! Escrevendo uma CLI CRUD utilizando ScyllaDB e Ruby
dry-cli
dry-auto_inject
What are some alternatives?
Thor - Thor is a toolkit for building powerful command-line interfaces.
dry-system - Application framework with state management and built-in dependency injection support
Rake - A make-like build utility for Ruby.
Cassandra Driver - [MAINTENANCE ONLY] DataStax Ruby Driver for Apache Cassandra
Slop - Simple Lightweight Option Parsing - ✨ new contributors welcome ✨
zeitwerk - Efficient and thread-safe code loader for Ruby
GLI - Make awesome command-line applications the easy way
Commander - The complete solution for Ruby command-line executables
Cocaine
Gemsmith - A command line interface for smithing Ruby gems.
ScriptCore - A script engine powered by mruby sandboxie, It's a fork of Shopify's ESS.
Trollop - Optimist is a commandline option parser for Ruby that just gets out of your way.