Skip to content

Commit

Permalink
realign-text-table: add README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hydrargyrum committed Oct 11, 2020
1 parent 94320ba commit 834c95a
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions realign-text-table/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# realign-text-table

`realign-text-table` redraws malformed ASCII-drawn tables

# Example

`realign-text-table` reads stdin or argument file.
When given this table as stdin:

+-----+-----+
| foo | bar |
+-----+-----+
| a long cell | short |
| x | longer cell ? |
+--+--+

it will output a well-formed table:

+-------------+---------------+
| foo | bar |
+-------------+---------------+
| a long cell | short |
| x | longer cell ? |
+-------------+---------------+

# Dependencies
`realign-text-table` uses Python and PrettyTable.

0 comments on commit 834c95a

Please sign in to comment.