ligotab

Crates.ioligotab
lib.rsligotab
version0.2.0
sourcesrc
created_at2024-06-28 01:48:55.206607
updated_at2024-06-28 15:14:02.530688
descriptionFormat delimited data with lightweight markup
homepagehttps://github.com/blackerby/ligotab
repositoryhttps://github.com/blackerby/ligotab
max_upload_size
id1286375
size50,164
William Blackerby (blackerby)

documentation

README

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
Commit count: 26

cargo fmt