Some checks failed
CI / Lint (bash) (push) Has been cancelled
CI / Lint (markdown) (push) Has been cancelled
CI / Lint (nickel) (push) Has been cancelled
CI / Lint (nushell) (push) Has been cancelled
CI / Lint (rust) (push) Has been cancelled
CI / Benchmark (push) Has been cancelled
CI / Security Audit (push) Has been cancelled
CI / License Compliance (push) Has been cancelled
CI / Code Coverage (push) Has been cancelled
CI / Test (macos-latest) (push) Has been cancelled
CI / Test (ubuntu-latest) (push) Has been cancelled
CI / Test (windows-latest) (push) Has been cancelled
CI / Build (macos-latest) (push) Has been cancelled
CI / Build (ubuntu-latest) (push) Has been cancelled
CI / Build (windows-latest) (push) Has been cancelled
Replace all TOML form definitions in examples/ and config/ with type-checked Nickel equivalents. Update cli_loader to prefer .ncl (via nickel export) over .toml in config search order. TOML support retained as fallback — no breaking change. - El loader usa nickel export --format json + serde_json como puente — evita reimplementar un parser Nickel en Rust y aprovecha el binario ya existente. - El orden de búsqueda .ncl > .toml permite migración incremental: cualquier config vieja sigue funcionando sin tocarla. - Los contratos Nickel (| default, | String) en los configs sustituyen la validación que antes era implícita en el parsing TOML — el error llega antes (en nickel export) con mensajes más descriptivos.
Backend-Specific Examples
Examples demonstrating each backend (CLI, TUI, Web) with features unique to that platform.
CLI Backend
See: cli/README.md
Interactive command-line forms with:
- Inline validation
- Progress tracking
- Terminal-based UI
TUI Backend
See: tui/README.md
Text User Interface forms with:
- Interactive navigation
- Real-time feedback
- Mouse/keyboard support
Web Backend
See: web/README.md
Web-based form rendering with:
- HTML/CSS styling
- Browser compatibility
- REST API integration
Common Examples Format
Each backend can use TOML form definitions or Rust code:
TOML - Configuration-driven (faster iteration):
cargo run -p typedialog-web -- --config registration_form.toml
```text
**Rust** - Programmatic control (advanced customization):
```bash
cargo run --example form_with_autocompletion
```text
## Feature Compatibility Matrix
| Feature | CLI | TUI | Web |
|---------|-----|-----|-----|
| Conditional Fields | ✓ | ✓ | ✓ |
| Autocompletion | ✓ | ✓ | ✓ |
| Validation | ✓ | ✓ | ✓ |
| Custom Styling | ✗ | ✓ | ✓ |
| i18n Support | ✓ | ✓ | ✓ |