Skip to content

feat: Add the option for table column spacer #584

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

simonNozaki
Copy link

@simonNozaki simonNozaki commented Feb 16, 2025

Overview

This is the feature request for CLI::UI::Table .

Add spacer option for CLI::UI::Table. The default value is blank so that it can keep existing interface.

Why this

Because I want CLI::UI::Table to separate with an arbitrary character.

I love this cli-ui since this help my CLI working more pleasant. So, based on this PR, I want to implement table outputs.

Example

For instance, when we set spacer as pipe, output will be like below:

|Lang        |Birth  |
|Ruby        |1995   |
|Rust        |2010   |

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant