Skip to content

blackerby/ligotab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ligotab

Tables in a few formats

ligotab is library and command line tool for formatting delimiter-separated values (CSV, etc.) as lightweight markup tables in a few formats. So far, basic Markdown, Confluence Wiki Markup, Org, and reStructuredText tables are supported (grid syntax only for rst). The command line tool, lt, can read from standard input or from a single file.

ligotab is an experimental work in progress.

Command Line Usage

Format delimited data with lightweight markup

Usage: lt [OPTIONS] [PATH]

Arguments:
  [PATH]  Path to delimiter-separated value file [default: -]

Options:
  -d, --delimiter <DELIMITER>          Set the delimiter character. Expand escape characters in the shell, e.g., `$'\t'` [default: ,]
  -t, --terminator <TERMINATOR>        (Optional) Set the record terminator character
  -c, --comment-char <COMMENT_CHAR>    (Optional) Set the file commenting character
  -q, --quoting                        Disable quoting when reading file
  -u, --quote-char <QUOTE_CHAR>        Set the quoting character [default: "]
  -b, --double-quote                   Disable interpreting double quote as escape
  -o, --output-format <OUTPUT_FORMAT>  Set the output format for the table [default: markdown]
  -h, --help                           Print help
  -V, --version                        Print version

About

These tables are my livelihood!

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages