ibrahimcesar/velociplot

Add pipe support for CLI

Open

#14 建立於 2025年11月29日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)Rust (0 fork)auto 404
good first issuepriority: mediumtype: clitype: feature

倉庫指標

Star
 (3 star)
PR 合併指標
 (PR 指標待抓取)

描述

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

貢獻者指南