(x)lsx (t)o (c)sv → convert xlsx file to a csv file using Rust
xtc 0.2.0
(x)lsx (t)o (c)sv => convert xlsx file to a csv file
USAGE:
xtc [FLAGS] [OPTIONS] --xlsx <xlsx>
FLAGS:
-h, --help Prints help information
-p, --print-sheets Print out sheet names
-V, --version Prints version information
OPTIONS:
-s, --sheet <sheet> Sheet name
-x, --xlsx <xlsx> Path to xlsx file
Code is simply a wrapper around the calamine library. In fact, initial implementation copies their xlsx to csv example.
In addition, copied methodology within xlsx-to-csv.rs for writing to csv
.
Only the presence of a git tag
will trigger a Github Actions build.
on:
push:
tags:
- '*'
Below is the rough git tag
dance to delete and/or add tags to trigger Github Actions.
# delete local tag
git tag --delete v0.1.0
# delete remote tag
git push --delete origin v0.1.0
# add and commit local changes
git add .
git commit -m "commit msg"
# push local changes to remote
git push
# add local tag
git tag -a v0.1.0 -m "v0.1.0"
# push local tag to remote
git push origin --tags