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

cmd/list: render table via tablewriter (replace diy) #99

Merged
merged 1 commit into from
Oct 29, 2023

Conversation

RaphaelPour
Copy link
Owner

@RaphaelPour RaphaelPour commented Oct 29, 2023

Before:

 $ ci-build/blogctl -p ../blog list
Creation date                  | Status  | Static | Title
-------------------------------+---------+--------+---------------
2020-09-25 17:28:02 +0200 CEST | public | false  | Avoid distraction tools
2023-07-22 11:15:49 +0200 CEST | draft  | false  | lol
2020-12-05 16:49:07 +0100 CET  | public | false  | TEST
2020-10-13 17:00:16 +0200 CEST | public | false  | use-case heavy projects

After:

$ ci-build/blogctl -p ../blog list
+--------------------------------+--------+--------+-------------------------+
|         CREATION DATE          | STATUS | STATIC |          TITLE          |
+--------------------------------+--------+--------+-------------------------+
| 2020-09-25 17:28:02 +0200 CEST | public | false  | Avoid distraction tools |
| 2023-07-22 11:15:49 +0200 CEST | draft  | false  | lol                     |
| 2020-12-05 16:49:07 +0100 CET  | public | false  | TEST                    |
| 2020-10-13 17:00:16 +0200 CEST | public | false  | use-case heavy projects |
+--------------------------------+--------+--------+-------------------------+

@RaphaelPour RaphaelPour linked an issue Oct 29, 2023 that may be closed by this pull request
@RaphaelPour RaphaelPour force-pushed the 75-cli-use-tablewriter-for-tables branch from 0ad5007 to 757fb8a Compare October 29, 2023 07:14
@RaphaelPour RaphaelPour merged commit 12ce719 into main Oct 29, 2023
4 checks passed
@RaphaelPour RaphaelPour deleted the 75-cli-use-tablewriter-for-tables branch October 29, 2023 07:18
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.

[CLI] use tablewriter for tables
1 participant