Skip to content
/ dcsv Public

Simple cli app to print/fetch data from CSV files

License

Notifications You must be signed in to change notification settings

danielm/dcsv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Aug 25, 2022
fba382b · Aug 25, 2022

History

8 Commits
Aug 25, 2022
Aug 20, 2022
Aug 25, 2022
Aug 25, 2022
Aug 25, 2022
Aug 25, 2022
Aug 25, 2022

Repository files navigation

DCSV

Simple CSV utility to fetch/print data from CSV files and perform some really odd operations.

About

I like to experiment with data so I use CSV files alot; I'm also learning Rust => This repo is a combination of both.

For me this simple application is a boilerplate for my real usage, I got alot of commented that I will be adding overtime as I clean it up and learn more about Rust.

Usage

    $ dcsv -p path/to/file/.csv -c Name

Options

  • -c, --column <COLUMN>: Column name (as in headers, case-sensitive)
  • -e, --evens: Print only even rows
  • -l, --line-numbers: Print line numbers before column value
  • -n, --number <NUMBER>: Number of rows to print
  • -o, --odds: Print only odd rows
  • -p, --path <PATH>: CSV location
  • -s, --seek <SEEK>: How many rows to seek before print (Zero-indexed)