Skip to content

artanador/xlcat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xlcat

xlcat is a lightweight, command-line tool that allows you to quickly browse and preview Excel files (.xlsx, .xlsm) directly from your terminal.

🚀 Features

  • List all sheets in an Excel file with row and column counts
  • Preview a specified number of rows from any sheet
  • Automatically detect and list Excel files in directories
  • Support for multiple Excel file extensions (.xlsx, .xlsm, .xltx, .xltm)

📥 Clone & build

git clone https://github.com/artemdorozhkin/xlcat.git
cd xlcat
go build

🛠 Usage

xlcat <file.xlsx> [options]

Options

Option Short Description Default
--rows -r Number of rows to preview 5
--sheet -s Sheet name to preview (none)
--help -h Show help information

Examples

Preview the first 10 rows of a specific sheet:

xlcat sales.xlsx --sheet "Q4" --rows 10

List all sheets in a file with their dimensions:

xlcat data.xlsx

List Excel files in a directory:

xlcat ./reports

📦 Dependencies


Made with ❤️ by artemdorozhkin.

About

Lightweight, command-line tool that allows you to quickly browse and preview Excel files (`.xlsx`, `.xlsm`) directly from your terminal.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages