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

Print profiles in one table instead of several #2030

Merged
merged 1 commit into from
Dec 22, 2023
Merged

Conversation

JAORMX
Copy link
Contributor

@JAORMX JAORMX commented Dec 22, 2023

Instead of having several tables as so:

$ minder profile list
No config file present, using default values.
+--------------------------------------+----------------------------------------------------+----------+-------+-----------+
|                  ID                  |                        NAME                        | PROVIDER | ALERT | REMEDIATE |
+--------------------------------------+----------------------------------------------------+----------+-------+-----------+
| 6fec2b7b-6489-487c-8fe3-f611efdf5d53 | demo-profile                                       | github   | on    | on        |
+--------------------------------------+----------------------------------------------------+----------+-------+-----------+
+--------------------------------------+----------------------------------------------------+----------+-------+-----------+
|                  ID                  |                        NAME                        | PROVIDER | ALERT | REMEDIATE |
+--------------------------------------+----------------------------------------------------+----------+-------+-----------+
| 4d5c4952-5e30-4b9b-b694-c133279508c4 | acme-github-profile                                | github   | on    | off       |
+--------------------------------------+----------------------------------------------------+----------+-------+-----------+

This changes the output to be only one:

$ minder profile list
No config file present, using default values.
+--------------------------------------+----------------------------------------------------+----------+-------+-----------+
|                  ID                  |                        NAME                        | PROVIDER | ALERT | REMEDIATE |
+--------------------------------------+----------------------------------------------------+----------+-------+-----------+
| 6fec2b7b-6489-487c-8fe3-f611efdf5d53 | demo-profile                                       | github   | on    | on        |
+--------------------------------------+----------------------------------------------------+----------+-------+-----------+
| 4d5c4952-5e30-4b9b-b694-c133279508c4 | acme-github-profile                                | github   | on    | off       |
+--------------------------------------+----------------------------------------------------+----------+-------+-----------+

Instead of having several tables as so:

```
$ minder profile list
No config file present, using default values.
+--------------------------------------+----------------------------------------------------+----------+-------+-----------+
|                  ID                  |                        NAME                        | PROVIDER | ALERT | REMEDIATE |
+--------------------------------------+----------------------------------------------------+----------+-------+-----------+
| 6fec2b7b-6489-487c-8fe3-f611efdf5d53 | demo-profile                                       | github   | on    | on        |
+--------------------------------------+----------------------------------------------------+----------+-------+-----------+
+--------------------------------------+----------------------------------------------------+----------+-------+-----------+
|                  ID                  |                        NAME                        | PROVIDER | ALERT | REMEDIATE |
+--------------------------------------+----------------------------------------------------+----------+-------+-----------+
| 4d5c4952-5e30-4b9b-b694-c133279508c4 | acme-github-profile                                | github   | on    | off       |
+--------------------------------------+----------------------------------------------------+----------+-------+-----------+
```

This changes the output to be only one:

```
$ minder profile list
No config file present, using default values.
+--------------------------------------+----------------------------------------------------+----------+-------+-----------+
|                  ID                  |                        NAME                        | PROVIDER | ALERT | REMEDIATE |
+--------------------------------------+----------------------------------------------------+----------+-------+-----------+
| 6fec2b7b-6489-487c-8fe3-f611efdf5d53 | demo-profile                                       | github   | on    | on        |
+--------------------------------------+----------------------------------------------------+----------+-------+-----------+
| 4d5c4952-5e30-4b9b-b694-c133279508c4 | acme-github-profile                                | github   | on    | off       |
+--------------------------------------+----------------------------------------------------+----------+-------+-----------+
```
@JAORMX JAORMX requested a review from a team as a code owner December 22, 2023 10:57
@rdimitrov rdimitrov merged commit 467dae6 into main Dec 22, 2023
15 checks passed
@rdimitrov rdimitrov deleted the profile-list-one branch December 22, 2023 11:01
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.

3 participants