ri > Thor::Shell::Basic

Thor::Shell::Basic < Object

🚀 Quick Reference

Use CaseCommandDescription
🖥️ Prompt user for inputask(question, options)Ask user a question and return the answer
💬 Display a messagesay(message, color, force_new_line)Output text to stdout with optional color
✅ Confirm yes/noyes?(question)Ask a yes/no question, returns true/false
❌ Confirm nono?(question)Ask a no question, returns true/false
📊 Print tableprint_table(rows, options)Print a formatted table of rows
📋 Print columnsprint_in_columns(columns)Print items in aligned columns
⚠️ Display errorerror(message)Output error message to stderr
📏 Get terminal widthterminal_widthReturn current terminal width in characters
🔄 Indent blockindent(amount, indent_string)Indent a block of text
🔇 Mute outputmute { block }Suppress output within block
🛡️ File collision handlerfile_collision(file_path)Handle file overwrite questions

💡 Constants

🛠️ Instance Methods

📋 Attributes

Thor::Shell::Basic
Thor::Shell::Basic < Object 🚀 Quick Reference 💡 Constants 🛠️ Instance Methods 📋 Attributes

Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-29 18:25 @216.73.216.250
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format