Categorygithub.com/hmarr/xlsx-to-csv
modulepackage
0.0.0-20240419123741-02a1f2182d02
Repository: https://github.com/hmarr/xlsx-to-csv.git
Documentation: pkg.go.dev

# README

xlsx-to-csv

Convert XLSX spreadsheets to CSVs. Built with Excelize.

Usage

$ xlsx-to-csv --help                                                                                                                                                                                        main
Usage:
  xlsx-to-csv [OPTIONS]

Application Options:
  -l, --list-sheets  List sheets
  -s, --sheet=       Sheet to convert
  -i, --input=       Input XLSX file (default: stdin)
  -o, --output=      Output CSV file (default: stdout)

Help Options:
  -h, --help         Show this help message

List sheets

$ xlsx-to-csv --list-sheets -i data.xlsx
Downloads
Cumulative

Convert sheet to CSV

$ xlsx-to-csv --sheet Downloads -i data.xlsx
Date,Downloads
05-12-22,918
05-13-22,681
05-14-22,360
05-15-22,372
05-16-22,255
05-17-22,152
05-18-22,875

# Structs

No description provided by the author