thor
https://github.com/rails/thor
Ruby
Thor is a toolkit for building powerful command-line interfaces.
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
2 Subscribers
Add a CodeTriage badge to thor
Help out
- Issues
- Class option relations are appended to the command on every run
- Do not append class option relations to the command on every run
- print_table with indent and truncate lets lines run up to indent characters past the width
- Account for indentation when deciding to truncate table rows
- Declarative command requirements (requires)
- Add command requirements (requires)
- Validate enum values for positional arguments
- Handle EOF in limited ask prompts
- Add ENV["FORCE_COLOR"] environment variable
- Allow required options to be initialised with string keys
- Docs
- Thor::Shell::TablePrinter#format_cell
- Thor::Shell::TablePrinter#print_border_separator
- Thor::Shell::Terminal.dynamic_width_tput
- Thor::Shell::Terminal.dynamic_width_stty
- Thor::Shell::Terminal.dynamic_width
- Thor::Shell::Terminal.unix?
- Thor::Shell::Terminal.terminal_width
- Thor::Shell::TablePrinter#print
- Thor::Shell::TablePrinter#initialize
- Thor::Shell::WrappedPrinter#print