-
Notifications
You must be signed in to change notification settings - Fork 46
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 new share-status command #686
Comments
$ reana-client share-status -w myanalysis.42
USER EXPIRY_DATE
[email protected] 9999-12-31T23:59:59
[email protected] 2023-11-05T18:41:57 The expiry date is optional, but it may be good to use some value for sorting purposes, and schema validation purposes, hence the illustrative use of year
$ reana-client share-status -w myanalysis.42
USER
[email protected]
[email protected]
$ reana-client share-status -w myanalysis.42
SHARED_WITH SHARE_EXPIRES
[email protected] 9999-12-31T23:59:59
[email protected] 2024-11-05T18:41:57
[email protected] 9999-12-31T23:59:59 We should consider this together with the CLI option names for the |
Since it's only two columns, I think providing both the user/group and the expiry date with the default command is nicer. I will work on implementing this command like you displayed in point 3. On a different note, what do you think of |
OT1H, OTOH, I would see one concern is that it might possibly create a confusion with the For example:
This concern could be possibly alleviated if we prefix existing commands, such as:
Then We can muse IRL about pros/cons about where we would like to go and see based on that? |
I really like the idea of using clear prefixes for commands to avoid any confusion. Commands like workflow-list and share-list are straightforward and distinct. On the other hand, when it comes to non-prefixed commands like close and stop, it's not immediately apparent what they do. If I had to guess between the two, I wouldn't be sure which one closes or stops an interactive session. Switching to more explicit commands like interactive-session-close and workflow-stop may require some adjustment for users, but it seems like a sensible trade-off for improved clarity. If backward compatibility is a concern, we could always maintain the current commands as aliases. Implementing and testing these new commands, as well as maintaining backward compatibility with aliases, could take some effort. We should weigh whether the enhanced clarity justifies the resources required for this transition. |
Adds a new command to the docs for retrieving whom a workflow is shared with. Closes reanahub/reana-client#686
Adds a new command to the CLI to retrieve whom a workflow is shared with. Closes reanahub#686
Adds a new command to the CLI to retrieve whom a workflow is shared with. Closes reanahub#686
Adds a new command to the CLI to retrieve whom a workflow is shared with. Closes reanahub/reana-client#686
Adds a new endpoint to retrieve whom a workflow is shared with. Closes reanahub/reana-client#686
Adds a new endpoint to retrieve whom a workflow is shared with. Closes reanahub/reana-client#686
Adds `reana-server` and `reana-workflow-controller` OpenAPI specifications for retrieving whom a workflow is shared with. Closes reanahub/reana-client#686
Adds a new command to the CLI to retrieve whom a workflow is shared with. Closes reanahub#686
Adds a new command to the CLI to retrieve whom a workflow is shared with. Closes reanahub#686
Adds a new command to the CLI to retrieve whom a workflow is shared with. Closes reanahub#686
Adds a new command to the CLI to retrieve whom a workflow is shared with. Closes reanahub#686
Adds a new command to the CLI to retrieve whom a workflow is shared with. Closes reanahub/reana-client#686
Adds a new command to the CLI to retrieve whom a workflow is shared with. Closes reanahub#686
Adds a new command to the CLI to retrieve whom a workflow is shared with. Closes reanahub/reana-client#686
Adds a new endpoint to retrieve whom a workflow is shared with. Closes reanahub/reana-client#686
Adds a new endpoint to retrieve whom a workflow is shared with. Closes reanahub/reana-client#686
Adds a new endpoint to retrieve whom a workflow is shared with. Closes reanahub/reana-client#686
Adds a new endpoint to retrieve whom a workflow is shared with. Closes reanahub/reana-client#686
Adds a new endpoint to retrieve whom a workflow is shared with. Closes reanahub/reana-client#686
Adds a new endpoint to retrieve whom a workflow is shared with. Closes reanahub/reana-client#686
Adds a new endpoint to retrieve whom a workflow is shared with. Closes reanahub/reana-client#686
Adds a new endpoint to retrieve whom a workflow is shared with. Closes reanahub/reana-client#686
Adds a new endpoint to retrieve whom a workflow is shared with. Closes reanahub/reana-client#686
Adds a new endpoint to retrieve whom a workflow is shared with. Closes reanahub/reana-client#686
Adds a new endpoint to retrieve whom a workflow is shared with. Closes reanahub/reana-client#686
Adds a new endpoint to retrieve whom a workflow is shared with. Closes reanahub/reana-client#686
Adds `reana-server` and `reana-workflow-controller` OpenAPI specifications for retrieving whom a workflow is shared with. Closes reanahub/reana-client#686
Adds a new command to the CLI to retrieve whom a workflow is shared with. Closes reanahub#686
Adds a new command to the CLI to retrieve whom a workflow is shared with. Closes reanahub/reana-client#686
Adds a new command to the docs for retrieving whom a workflow is shared with. Closes reanahub/reana-client#686
Adds `reana-server` and `reana-workflow-controller` OpenAPI specifications for retrieving whom a workflow is shared with. Closes reanahub/reana-client#686
Adds a new command to the CLI to retrieve whom a workflow is shared with. Closes reanahub#686
Adds a new endpoint to retrieve whom a workflow is shared with. Closes reanahub/reana-client#686
Adds a new endpoint to retrieve whom a workflow is shared with. Closes reanahub/reana-client#686
Adds a new endpoint to retrieve whom a workflow is shared with. Closes reanahub/reana-client#686
Adds a new endpoint to retrieve whom a workflow is shared with. Closes reanahub/reana-client#686
Adds a new command to the CLI to retrieve whom a workflow is shared with. Closes reanahub/reana-client#686
Adds a new command to the CLI to retrieve whom a workflow is shared with. Closes reanahub#686
Adds a new command to the CLI to retrieve whom a workflow is shared with. Closes reanahub#686
Adds a new command to the docs for retrieving whom a workflow is shared with. Closes reanahub/reana-client#686
For the workflow sharing sprint, design and implement a share-status command allowing users to view who a workflow has been shared with.
For example, Alice enquires with whom she shared her myanalysis run 42:
The CLI could have JSON output for easy piping into user scripts (as the
list
,status
etc commands):The text was updated successfully, but these errors were encountered: