| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
fix #173 New CLI parameter: --headers HEADERS where HEADERS can be "firstrow", "keys", "HEADER1,HEADER2,...", "KEY1:HEADER1,KEY2:HEADER2,..." --read FILEFORMAT where FILEFORMAT can be "rsv" (default), "csv", "jsonl" Deprecated CLI parameter: --header Usage examples: cat ./examples/people.csv | tabulate -r csv --headers firstrow id name email "favorite" fruit ---- ------ ----------------- ------------------ 1 Alice alice@example.com apple, kiwi 2 Bob bob@example.com banana, orange, lychee 3 Carol pear cat ./examples/people.jsonl | tabulate -r jsonl -f grid --headers 'id:ID,name:First Name,email:Email' +------+--------------+-------------------+ | ID | First Name | Email | +======+==============+===================+ | 1 | Alice | alice@example.com | +------+--------------+-------------------+ | 2 | Bob | bob@example.com | +------+--------------+-------------------+
- old tests: launch tabulate via subprocess (still necessary) - new tests: the same checks for coverage reports
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## master #421 +/- ##
===========================================
+ Coverage 84.43% 94.92% +10.48%
===========================================
Files 1 2 +1
Lines 906 946 +40
Branches 218 227 +9
===========================================
+ Hits 765 898 +133
+ Misses 107 25 -82
+ Partials 34 23 -11 ☔ View full report in Codecov by Sentry.
|
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Depends on pull request #419 .