Skip to content

Commit

Permalink
stats: add expanded example including INPUT and OUTPUT prompts
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
jqnatividad committed Jun 17, 2024
1 parent 2add142 commit c98bf2b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/cmd/stats.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,11 @@ Prompt for CSV/TSV/TAB file to compute stats for:
Prompt for a file to save the stats to in the ~/Documents directory:
$ qsv stats -E nyc311.csv | qsv prompt -d ~/Documents --fd-output
Prompt for both INPUT and OUTPUT files in the ~/Documents dir with custom prompts messages:
$ qsv prompt -m 'Select a CSV file to summarize' -d ~/Documents -F csv | \
qsv stats -E --infer-dates | \
qsv prompt -m 'Save summary to...' -d ~/Documents --fd-output --save-fname summarystats.csv
For more examples, see https://github.com/jqnatividad/qsv/tree/master/resources/test
Usage:
Expand Down

0 comments on commit c98bf2b

Please sign in to comment.