excelsheets

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2018 License: MIT Imports: 6 Imported by: 0

README

excel-sheets

Go get

go get -v gitlab.com/tyabuta/go-excel-sheets

Install commands

go get -v gitlab.com/tyabuta/go-excel-sheets/cmd/...

Usage

excel-sheets --help
NAME:
   excel-sheets - list of excel sheets.

USAGE:
   main [options] <Dir>

VERSION:
   0.1.0

AUTHOR:
   tyabuta <gmforip@gmail.com>

OPTIONS:
   --delim value, -d value        Use delim as the field delimiter character instead of the tab character. (default: "\t")
   --fullname, -F                 Show full pathname.
   --cache, -c                    Cached list of files.
   --cached-file value, -f value  Cached filename. (default: ".excel-sheets.cache")
   --help, -h                     show help
   --version, -v                  print the version

Output example

sample1.xlsx    sheet1
sample1.xlsx    sheet2
sample1.xlsx    sheet3
sample2.xlsx    sheet1
sample2.xlsx    sheet2
sample2.xlsx    sheet3
sample3.xlsx    sheet1
sample3.xlsx    sheet2
sample3.xlsx    sheet3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var App *cli.App
View Source
var CacheFilenameOption string
View Source
var CachedFlag bool
View Source
var DelimOption string
View Source
var FullPathFlag bool
View Source
var HelpTemplate = `` /* 672-byte string literal not displayed */
View Source
var Version string = "0.1.0"

Functions

func GetSheetNames

func GetSheetNames(excelPath string) ([]string, error)

unzip excel file and get the sheet names

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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