xcalxls2csv

module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2024 License: MIT

README

xcalxls2csv

About

Converts Xcalibur XLS data frames to CSV format.


Download

xcalxls2csv binaries are available on the release page. Choose the binary matching your platform and test it with ./xcalxls2csv --help or move it to a permanent location:

$ ./xcalxls2csv --help
Usage: xcalxls2csv <xcalxls>

Xcalibur XLS data frames to CSV

Arguments:
  <xcalxls>    Xcalibur XLS file to convert.

Flags:
  -h, --help             Show context-sensitive help.
      --version
      --output=STRING    Custom output filename.

Usage

xcalxls2csv [<flags>] <xcalxls>

<xcalxls> is the path to the Xcalibur XLS file to convert. Some samples are available in ./pkg/xcal/fixtures:

$ xcalxls2csv ./pkg/xcal/fixtures/MCF001120_0_Short.xls
11:13AM INF Converting Xcalibur XLS file ./pkg/xcal/fixtures/MCF001120_0_Short.xls to ./pkg/xcal/fixtures/MCF001120_0_Short.csv
11:13AM INF Xcalibur XLS file converted successfully to ./pkg/xcal/fixtures/MCF001120_0_Short.csv

CSV file should be available in ./pkg/xcal/fixtures/MCF001120_0_Short.csv.

Build

# build and output to ./bin/build
$ docker buildx bake
# then run on linux
$ ./bin/build/xcalxls2csv --help
# on windows
$ .\bin\build\xcalxls2csv.exe --help

License

MIT. See LICENSE for more details.

Directories

Path Synopsis
cmd
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL