ibrahimcesar/velociplot

Add pipe support for CLI

Open

#14 aberto em 29 de nov. de 2025

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

Métricas do repositório

Stars
 (3 stars)
Métricas de merge de PR
 (Métricas PR pendentes)

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

Guia do colaborador