csv-to-html
A simple CLI and Rust crate to convert CSV to HTML tables.
Installation
Installation is very easy with Cargo. If you have it:
Uninstalling
csv-to-html has no side effects on your system, i.e. no config files, no
program data files, etc. Installation is as easy as:
Usage
Usage: csv-to-html [OPTIONS] --filename <FILENAME>
Options:
-f, --filename <FILENAME> path to input file
-n, --no-header the CSV file has no header
-o, --output <OUTPUT> path of output file. If not specified, will print to stdout
-d, --delimiter <DELIMITER> [default: ,]
-h, --help Print help
-V, --version Print version
Examples
Programmatic Usage
You can also use this is a library. To add to your Rust program:
cargo add csv-to-html
Example
let html: String = convert;