| Use Case | Command | Description |
|---|---|---|
| 🖥️ Prompt user for input | ask(question, options) | Ask user a question and return the answer |
| 💬 Display a message | say(message, color, force_new_line) | Output text to stdout with optional color |
| ✅ Confirm yes/no | yes?(question) | Ask a yes/no question, returns true/false |
| ❌ Confirm no | no?(question) | Ask a no question, returns true/false |
| 📊 Print table | print_table(rows, options) | Print a formatted table of rows |
| 📋 Print columns | print_in_columns(columns) | Print items in aligned columns |
| ⚠️ Display error | error(message) | Output error message to stderr |
| 📏 Get terminal width | terminal_width | Return current terminal width in characters |
| 🔄 Indent block | indent(amount, indent_string) | Indent a block of text |
| 🔇 Mute output | mute { block } | Suppress output within block |
| 🛡️ File collision handler | file_collision(file_path) | Handle file overwrite questions |
DEFAULT_TERMINAL_WIDTH — default terminal width value (not documented)answer_matchas_unicodeaskask_filteredask_simplybasecan_display_colors?dynamic_widthdynamic_width_sttydynamic_width_tputerrorfile_collisionindentlookup_colormutemute?no?paddingpadding=prepare_messageprint_in_columnsprint_tableprint_wrappedsaysay_statusstderrstdoutterminal_widthtruncateunix?yes?attr_accessor baseattr_reader paddingGenerated 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)
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format