This program is a CLI app that allows user read a CSV file of fixed dimensions (dimensions x,y) and operate on it.
These functionalities include:
- Display entire file.
- Paginate (display from row xa to xb).
- Delete and modify a row/field.
- Output struct to new csv file or update existing one.
You can run the program by running the following command in the root directory of the project:
cargo run -- -h # or --help to see all the available options
- To paginate each record per page (default 10 records per page), you can run the following command:
cargo run testdata.csv -r 5 -dd
- To test the whole program, you can run the following command:
cargo test