The new command thamos diff should take one or two arguments.
thamos diff adviser-220331140209-e5c79d78957854c3 -> prints the difference on the last advise run and the current advise.
thamos diff adviser-220331140209-e5c79d78957854c3 adviser-220331140345-e5c79d7895734324 -> prints the difference between the the two advises provided
thamos diff {old_id} {new_id}
This same functionality can also be triggered by adding the flag --diff to an advise command: thamos advise --diff.
in this case, the difference is of the advise just run and the the most recent advise.
Additional context
This command would have to pull the advise documents using the provided ids or last run id. Getting the last run advise document will be similar to what thamos advise log does.
Problem statement
As a user of thamos, I want to be able to get the difference of two advise outputs.
High-level Goals
A new command
thamos diff
that takes one or two arguments and calls the function created by https://github.com/thoth-station/thamos/issues/1146.Proposal description
The new command
thamos diff
should take one or two arguments.thamos diff adviser-220331140209-e5c79d78957854c3
-> prints the difference on the last advise run and the current advise.thamos diff adviser-220331140209-e5c79d78957854c3 adviser-220331140345-e5c79d7895734324
-> prints the difference between the the two advises providedthamos diff {old_id} {new_id}
This same functionality can also be triggered by adding the flag
--diff
to an advise command:thamos advise --diff
. in this case, the difference is of the advise just run and the the most recent advise.Additional context
This command would have to pull the advise documents using the provided ids or last run id. Getting the last run advise document will be similar to what
thamos advise log
does.Acceptance Criteria
relies on: https://github.com/thoth-station/thamos/issues/1146.