Skip to content

Conversation

@jqnatividad
Copy link
Collaborator

implements #2992 and #2864

@jqnatividad jqnatividad requested a review from Copilot September 21, 2025 15:09
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a new "leftendtab" alignment option to the table command, which creates left-aligned columns with tab separators instead of spaces. This produces TSV-like output that maintains both human readability and machine parseability.

  • Added LeftEndTab alignment enum variant and implementation
  • Updated command documentation to describe the new alignment option and clarify usage patterns
  • Added comprehensive test coverage for the new functionality

Reviewed Changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.

File Description
src/cmd/table.rs Added LeftEndTab alignment enum, updated usage documentation, and implementation mapping
tests/test_table.rs Added test case to verify leftendtab alignment produces correct tab-separated output
Cargo.toml Added dependency on patched tabwriter fork with LeftEndTab support

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@jqnatividad jqnatividad merged commit a8c473f into master Sep 21, 2025
15 checks passed
@jqnatividad jqnatividad deleted the table-leftendtab-alignment branch September 21, 2025 15:54
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.

2 participants