Skip to content

console-table-printer/homebrew-console-table

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

49 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

ctp - A Homebrew CLI Table Printer

Homebrew

This is a Homebrew tap for table-printer-cli, a Node.js CLI tool for printing beautiful tables in your terminal.

πŸš€ Quick Install

brew install console-table-printer/homebrew-console-table/ctp

πŸ“‹ Usage

After installation, you can use the ctp command in your terminal:

# Show help
ctp --help

# Simple Table
ctp -i '[{ "id":3, "text":"like" }, {"id":4, "text":"tea"}]'

# Use custom column styles
ctp -i '[{"id":1,"status":"active"},{"id":2,"status":"inactive"}]' --tableOptions '{"columns": [{"name": "status", "color": "green"}]}'

# Change table title
ctp -i '[{"id":1,"name":"John"}]' --tableOptions '{"title": "Users List"}'

πŸ—‘οΈ Uninstallation

To remove the package:

# Uninstall the package
brew uninstall ctp

About

🍻 Homebrew tap for installing Console Table Cli

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages