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

cli: implement diff command #32

Closed
audrium opened this issue Jul 8, 2022 · 0 comments · Fixed by #82
Closed

cli: implement diff command #32

audrium opened this issue Jul 8, 2022 · 0 comments · Fixed by #82
Assignees

Comments

@audrium
Copy link
Member

audrium commented Jul 8, 2022

Create a new diff command that replicates all the functionality we have in reana-client.
It should also include all the flags and return exactly the same output as reana-client diff.

Please note that this command heavily uses coloring, so it would be better to implement #2 issue before this one.

Example:

$ reana-client diff workflow.1 workflow.2
==> Differences in workflow workspace
@@ -1 +1 @@

-{'retention_days': {'test/*.root': 5}}
+{'retention_days': {'**/*': 5, 'test/*.root': 10}}

==> Differences in workflow workspace
Binary files workflow.1/results/data.root and workflow.2/results/data.root differ

@audrium audrium added this to Backlog in Go-Client-Basics Jul 8, 2022
@BrunoRosendo BrunoRosendo moved this from Backlog to Ready for work in Go-Client-Basics Aug 16, 2022
@BrunoRosendo BrunoRosendo self-assigned this Aug 16, 2022
@BrunoRosendo BrunoRosendo moved this from Ready for work to In work in Go-Client-Basics Aug 16, 2022
BrunoRosendo added a commit to BrunoRosendo/reana-client-go that referenced this issue Aug 17, 2022
BrunoRosendo added a commit to BrunoRosendo/reana-client-go that referenced this issue Aug 17, 2022
@BrunoRosendo BrunoRosendo moved this from In work to In review in Go-Client-Basics Aug 17, 2022
BrunoRosendo added a commit to BrunoRosendo/reana-client-go that referenced this issue Aug 19, 2022
@BrunoRosendo BrunoRosendo moved this from In review to Done in Go-Client-Basics Aug 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

2 participants