thoth-station / thamos

A CLI tool and library for communicating with Thoth
http://thoth-station.ninja
GNU General Public License v3.0
15 stars 17 forks source link

[5pt] Add a filter tag to the adviser CLI #1129

Closed Gkrumbach07 closed 1 year ago

Gkrumbach07 commented 2 years ago

Problem statement

As a data scientists that used Thoth Adviser, I want to be able to filter the justification stack to find the insights relevant to my use case so I dont have to spend time scrolling through many pages of justifications

High-level Goals

Proposal description

Add an additional functionality to Thamos to allow for users to filter/sort the justification and stack info output when an advise completes based on flags. This issue relies on a command to show the most recent justifications after an advise has run, as well as groupings for justifications.

Example Usage:

thamos justifications --list-groups

[108] scorecard        A description of this tag
[56]  package          A description of this tag
[22]  info             A description of this tag
[8]   warning          A description of this tag
[1]   error            A description of this tag
[9]   security         A description of this tag
thamos justifications --filter scorecard,package,warning

Acceptance Criteria

Gkrumbach07 commented 2 years ago

/priority important-soon /sig user-experience

Gkrumbach07 commented 1 year ago

blocked by https://github.com/thoth-station/adviser/issues/2180