Analysis updated 2026-07-07 · repo last pushed 2016-08-29
Build a CLI tool with nested subcommands like `myapp deploy --env=staging` or `myapp database backup`.
Parse user input like flags, options, and plain arguments so you can focus on command logic.
Structure a complex command-line tool similar to how git organizes commands like `git remote add`.
| krausefx/claide | joshuakgoldberg/mastodon | moritzheiber/mysql | |
|---|---|---|---|
| Language | Ruby | Ruby | Ruby |
| Last pushed | 2016-08-29 | 2024-05-11 | 2013-08-18 |
| Maintenance | Dormant | Dormant | Dormant |
| Setup difficulty | easy | hard | moderate |
| Complexity | 2/5 | 4/5 | 3/5 |
| Audience | developer | ops devops | ops devops |
Figures from each repo's GitHub metadata at analysis time.
Simply add the gem to your Gemfile and bundle install to start using it.
Claide is a Ruby library that helps developers build command-line tools, those text-based programs you run in a terminal. Instead of writing all the plumbing from scratch to handle things like flags, options, and subcommands, you get a lightweight framework that parses user input, organizes commands, and shows helpful error messages automatically. At its core, it does two things. First, it parses the arguments a user types. So if someone runs a command like mytool tea --no-milk --sweetner=honey, it breaks that into pieces: "tea" is a plain argument, "--no-milk" is a boolean flag set to false, and "--sweetner=honey" is an option with a value. Second, it lets you define commands as classes that can be nested inside each other, think of how git has git remote and then git remote add. When a command runs, the framework finds the right command class, validates the input, runs the action, and catches any errors to display them cleanly rather than crashing with a stack trace. This is built for Ruby developers creating CLI tools who want something simple but structured. The most notable user is CocoaPods, a popular dependency manager for iOS development, which uses it to organize its own command structure. If you were building a tool like myapp deploy --env=staging or myapp database backup, this library would handle the argument parsing and command routing so you could focus on what the commands actually do. The project emphasizes simplicity over feature richness. It was specifically created to be a straightforward option and command parser, not a heavy framework with every conceivable feature. The README doesn't go into detail about advanced configuration or edge cases, but it does link to full API documentation and a working example for anyone who wants to see it in action.
A lightweight Ruby library that helps developers build command-line tools by parsing arguments, organizing nested subcommands, and showing clean error messages automatically.
Mainly Ruby. The stack also includes Ruby.
Dormant — no commits in 2+ years (last push 2016-08-29).
The license for this repository is not specified in the available documentation.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.