Skip to content

Conversation

ajorpheus
Copy link

Summary

Adds a --show-lines CLI flag to control display of lines between rows in CSV tables.

Changes

  • Added --show-lines click option to enable row separator lines in CSV output
  • Updated render_csv() function signature to accept show_lines parameter
  • Modified table creation to use the parameter (defaults to False for backward compatibility)

Usage

# Display CSV with lines between rows
rich --csv --show-lines file.csv

# Default behavior (no lines)
rich --csv file.csv

- Added --show-lines CLI flag to control line display between CSV rows
- Updated render_csv function to accept show_lines parameter
@ajorpheus ajorpheus force-pushed the add-show-lines-option branch from d25dbfe to afa05d6 Compare October 6, 2025 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant