Rust CSV Manipulation CLI
This Rust command-line tool provides a set of CSV file manipulation commands, allowing users to perform operations such as displaying, modifying, deleting rows/columns/entries, merging files, sorting, adding rows, and more.
Features
- Display: View the contents of your CSV file with various options.
- Modify: Edit rows, columns, and entries in a straightforward manner.
- Delete: Delete rows, columns, and entries in a straightforward manner.
- Merge: Combine two CSV files into a single cohesive dataset.
- Sort and Display: Arrange rows in ascending order for easy analysis.
- Add: Append new rows and columns effortlessly.
Install(As a Crate)
Add to your Cargo.toml
Use in code
;
Usage(Locally)
Load File
(The CLI opens up if the file is loaded successfully. Does not load empty files.)
Examples
View Commands and Usage
>>> help
Display Row
>>> display
Display Column
>>> -
Delete Column
>>> delete
Delete Item
>>> -
Merge File
>>> merge
Write to Loaded File
>>> write
Write to New File(Creates if Doesn't Exist)
>>> write
Exit the CLI
>>> exit
Upcoming Updates
- Merging multiple files with same dimensions.
- Deleting multiple rows, cols and entries at once.