2026-01-11 22:35:49 +00:00
..
2026-01-11 22:35:49 +00:00

CLI Backend Examples

Command-line interface form examples.

Files

  • autocompletion_demo.rs - Field autocomplete and suggestions

Running Examples

cargo run --example autocompletion_demo
```text

## 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