rich-cli
rich-cli copied to clipboard
Add --show-lines option for CSV tables
Summary
Adds a --show-lines CLI flag to control display of lines between rows in CSV tables.
Changes
- Added
--show-linesclick option to enable row separator lines in CSV output - Updated
render_csv()function signature to acceptshow_linesparameter - Modified table creation to use the parameter (defaults to
Falsefor backward compatibility)
Usage
# Display CSV with lines between rows
rich --csv --show-lines file.csv
# Default behavior (no lines)
rich --csv file.csv