- सरल कोड के साथ इंटरैक्टिव REPL(Read-Eval-Print Loop) applications और custom shells को आसानी से बनाने में मदद करता है
ratatui का उपयोग करके terminal UI लागू करता है, और type safety तथा async support प्रदान करता है
- commands को Type-Safe interface में wrap किया गया है, जिससे errors को रोका जा सकता है
- async runtime integration -
tokio आधारित high-performance async tasks का समर्थन
- keyboard input support: command history, cursor movement, tab autocomplete, Ctrl+C/D handling
- user-defined context type के साथ commands के बीच state को बनाए रखा जा सकता है
- STDIN के माध्यम से कई पंक्तियों के input की आवश्यकता वाले commands को भी संभालता है
1 टिप्पणियां
उदाहरण काफ़ी निराशाजनक है।
कमांड को echo करने के बजाय, एक echo कमांड बनानी चाहिए थी...