pandora-kit 0.7.4

Interactive TUI toolkit for the Hefesto framework
Documentation
# pan spin — Spinner

Shows an animated spinner with a message while a command runs.

> **⚠️ Nota:** Los comandos interactivos (que piden password, confirmación, etc.) **no funcionan** con `pan spin`. El comando se ejecuta con pipes cerrados y no puede leer del terminal. Usa `sudo -A` o herramientas diseñadas para prompts.

## Usage

```
pan spin [OPTIONS] [-- <COMMAND>...]
```

## Options

| Flag                     | Default              | Description                           |
|--------------------------|----------------------|---------------------------------------|
| `-t`, `--title`          | `"Procesando..."`    | Main message displayed                |
| `-c`, `--cmd`            |                      | Command to run (string)               |
| `-l`, `--logs`           |                      | Show command output on completion     |
| `-v`, `--verbose`        |                      | Show real-time output in popup        |
| `-w`, `--wait`           |                      | Wait for Enter before closing         |
| `-a`, `--animation`      | `"dots"`             | Animation: dots, line, dots2, bounce, pulse, arrows, square, clock |
| `-W`, `--width`          | `0` (auto)           | Popup width                           |
| `-H`, `--height`         | `0` (auto)           | Popup height                          |
| `--badge`                |                      | Ruta a archivo JSON con badges        |
| `--badge-anchor`         | `tl`                 | Anchor default: tl, t, tr, bl, b, br, l, r |
| `--badge-width`          | `0` (auto)           | Default badge width                   |
| `--badge-lines`          | `1`                  | Default badge content lines           |
| `--guide`                |                      | Show this guide                       |

## Exit codes

| Code | Meaning                     |
|------|-----------------------------|
| 0    | Command succeeded           |
| 1    | Command failed / cancelled  |

## Examples

```bash
# Show spinner with a message
pan spin -t "Cargando..."

# Run a command with -c
pan spin -t "Instalando" -c "npm install"

# Multi-word command with --
pan spin -t "Compilando" -- cargo build --release
```

## Keys

| Key              | Action                           |
|------------------|----------------------------------|
| `Esc` / `q`      | Exit (only when idle)            |
| `Up` / `k`       | Scroll output up (verbose mode)  |
| `Down` / `j`     | Scroll output down (verbose mode)|
| `gg`             | Go to first output line          |
| `G`              | Go to last output line           |
| `Ctrl` + `c`     | Emergency exit (always)          |