| Crates.io | cactui |
| lib.rs | cactui |
| version | 0.1.0 |
| created_at | 2025-11-11 01:04:16.865838+00 |
| updated_at | 2025-11-11 01:04:16.865838+00 |
| description | Terminal-based interactive prompts and key menus for CLI applications |
| homepage | |
| repository | https://github.com/nobane/cactui |
| max_upload_size | |
| id | 1926531 |
| size | 71,720 |
Terminal-based interactive prompts and key menus for CLI applications.
use cactui::inline_prompt::InlinePrompt;
use anyhow::Result;
fn main() -> Result<()> {
let name = InlinePrompt::input("Enter your name:", None)?;
println!("Hello, {}!", name);
Ok(())
}
MIT