Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thaodt/bootleg-editor3000
https://github.com/thaodt/bootleg-editor3000
Last synced: 30 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/thaodt/bootleg-editor3000
- Owner: thaodt
- License: mit
- Created: 2023-12-09T04:42:46.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-09T07:14:50.000Z (about 1 year ago)
- Last Synced: 2024-12-08T00:42:30.343Z (about 1 month ago)
- Language: Rust
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bootleg-editor3000
## Description
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:
1. Display entire file.
2. Paginate (display from row xa to xb).
3. Delete and modify a row/field.
4. Output struct to new csv file or update existing one.## Usage
You can run the program by running the following command in the root directory of the project:
```bash
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:
```bash
cargo run testdata.csv -r 5 -dd
```- To test the whole program, you can run the following command:
```bash
cargo test
```