Skip to content

feat: add --stats flag for headless CSV summary#238

Open
cemheren wants to merge 34 commits into
mainfrom
grow/csv-stats
Open

feat: add --stats flag for headless CSV summary#238
cemheren wants to merge 34 commits into
mainfrom
grow/csv-stats

Conversation

@cemheren
Copy link
Copy Markdown
Owner

Adds --stats headless mode that prints a quick summary of a CSV file:

$ ExcelConsole data.csv --stats
File:     data.csv
Size:     3.2 KB
Rows:     42
Columns:  7
Headers:  Name, Age, City, Email, Score, Grade, Notes
Filled:   285/294 (96.9%)

Useful for scripting, pipelines, and quick file inspection without opening the full desktop UI. Follows the same pattern as --export-md, --export-html, and --export-json.

cemheren and others added 30 commits May 28, 2026 19:03
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
cemheren added 4 commits May 29, 2026 04:06
Prints file size, row/column count, header names, and cell fill
percentage. Useful for quick CSV inspection from scripts and pipelines.

Example:
  ExcelConsole data.csv --stats
  → File: data.csv | Size: 3.2 KB | Rows: 42 | Columns: 7 | Filled: 96.9%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant