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

贡献者指南