ibrahimcesar/velociplot

Add pipe support for CLI

Open

#14 geöffnet am 29. Nov. 2025

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Rust (0 Forks)auto 404
good first issuepriority: mediumtype: clitype: feature

Repository-Metriken

Stars
 (3 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Description

Allow piping data directly to vplot from stdin, enabling integration with other command-line tools.

Example Usage

```bash cat data.csv | vplot plot - -t line -o output.png curl https://example.com/data.json | vplot plot - -t scatter -o plot.png ```

Tasks

  • Support reading from stdin when input is "-"
  • Auto-detect format (CSV vs JSON)
  • Handle streaming data appropriately
  • Update documentation

Acceptance Criteria

  • Piping works reliably
  • Format auto-detection works
  • Good error messages for invalid input

Contributor Guide