ibrahimcesar/velociplot

Add pipe support for CLI

Open

#14 aperta il 29 nov 2025

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)Rust (0 fork)auto 404
good first issuepriority: mediumtype: clitype: feature

Metriche repository

Star
 (3 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor