Skip to content
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

Table formatter #14

Closed
karnkaul opened this issue Aug 3, 2020 · 0 comments
Closed

Table formatter #14

karnkaul opened this issue Aug 3, 2020 · 0 comments
Assignees

Comments

@karnkaul
Copy link
Owner

karnkaul commented Aug 3, 2020

Create a simple formatting tool

Goals

  • Build columns/rows dynamically
  • Maintain running max width per column
  • Build output string / log directly

Possible approach:

  • add columns and optional headings: set max width = heading width
  • add row data:
    • add unnamed column if none exist
    • extract as many entries as columns
    • update max width
@karnkaul karnkaul self-assigned this Aug 3, 2020
@karnkaul karnkaul added the in progress Currently being worked on label Aug 4, 2020
karnkaul added a commit that referenced this issue Aug 4, 2020
karnkaul added a commit that referenced this issue Aug 4, 2020
@karnkaul karnkaul added awaiting merge and removed in progress Currently being worked on labels Aug 4, 2020
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

No branches or pull requests

1 participant