rails/thor
Thor is a Ruby library and command-line interface framework designed for building robust CLI applications. It provides a modular architecture for parsing arguments and options, managing shell output with support for color and HTML, and executing tasks or groups of commands. The system also includes a suite of file and directory manipulation actions for template rendering and file system operations.
51.7
Adequate · 2 August 2026
5.5k
lines of production code
Ruby
primary language
4
bus factor · 268 authors in all
3
measurements over time
How it got here
2008 · Migration to Thor CLI framework
The project was renamed from Hermes to Thor, marking a comprehensive migration from a custom CLI framework to the Thor library. This period involved reorganizing the codebase into modular components, updating the build system, and adding extensive test coverage for the new architecture.
7 changes
2009 · Shell and parser refactoring
This period focused on refactoring the shell output system into dedicated printer classes and introducing an HTML shell, while simultaneously restructuring the CLI parser with stricter type validation. The work also added new file and directory manipulation actions and expanded test coverage for these new components.
11 changes
2012–2015 · Line editor refactoring and test coverage
This period focused on refactoring the line editor to support Readline features like history and tab completion, while introducing a polymorphic design for better environment compatibility. Significant effort was also dedicated to expanding test coverage, including new fixtures for file mode preservation, file exclusion patterns, and ERB template error handling.
5 changes
Survey your own repository
rails/thor was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point the surveyor at a repository you know and see whether you agree with it.
About this page
- The description of this project is derived from its own commit history, not from its README.
- The score is its highest published measurement, taken on 2 August 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit cb11e8e87b — the exact code this score is about.
- Scored under rubric rubric-2026.08.18. Score the same commit under that rubric and you get the same number.