CLI Backend Examples
Command-line interface form examples.
Files
- autocompletion_demo.rs - Field autocomplete and suggestions
Running Examples
cargo run --example autocompletion_demo
Features
Autocompletion
Suggests values as user types:
- Email domain completion
- Name suggestions
- Pre-filled lists
- Custom completion logic
Use Cases
- Server management
- Configuration wizards
- Admin tools
- Batch form entry
- Scripting integration
I/O Handling
CLI forms read from stdin and write to stdout, making them:
- Pipe-friendly
- Scriptable
- Integration-friendly with other tools