Skip to content

Commit

Permalink
readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
kellyjonbrazil committed Dec 12, 2023
1 parent 514863e commit 0018aad
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,17 @@ $ <JSON Data> | jtbl [OPTIONS]
```
### Options
- `--cols=n` manually configure the terminal width
- `-c` CSV table output
- `-f` fancy table output
- `-h` help - prints help information
- `-H` HTML table output
- `-m` markdown table output
- `-n` no-wrap - no data wrapping if too long for the terminal width (overrides `--cols` and `-t`)
- `-q` quiet - don't print error messages to STDERR
- `-r` rotate the data (each row turns into a table of key/value pairs)
- `-t` truncate data instead of wrapping if too long for the terminal width
- `-v` prints version information
- `-c`, `--csv` CSV table output
- `-d`, `--dokuwiki` Dokuwiki table output
- `-f`, `--fancy` fancy table output
- `-h`, `--help` prints help information
- `-H`, `--html` HTML table output
- `-m`, `--markdown` markdown table output
- `-n`, `--no-wrap` no data wrapping if too long for the terminal width (overrides `--cols` and `-t`)
- `-q`, `--quiet` don't print error messages to STDERR
- `-r`, `--rotate` rotate the data (each row turns into a table of key/value pairs)
- `-t`, `--truncate` truncate data instead of wrapping if too long for the terminal width
- `-v`, `--version` prints version information

## Compatible JSON Formats
`jtbl` works best with a shallow array of JSON objects. Each object should have a few elements that will be turned into table columns. Fortunately, this is how many APIs present their data.
Expand Down

0 comments on commit 0018aad

Please sign in to comment.