ibrahimcesar/velociplot

Add pipe support for CLI

Open

#14 opened on Nov 29, 2025

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Rust (0 forks)auto 404
good first issuepriority: mediumtype: clitype: feature

Repository metrics

Stars
 (3 stars)
PR merge metrics
 (PR metrics pending)

Description

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