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

Check status for specific operations #469

Open
bdice opened this issue Feb 27, 2021 · 3 comments
Open

Check status for specific operations #469

bdice opened this issue Feb 27, 2021 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@bdice
Copy link
Member

bdice commented Feb 27, 2021

Feature description

I don't think there is a way to check status for only specific operations/groups. I tried to provide the flag -o operation_name, as in python project.py status -o operation_name, but the -o flag controls the output rendering (terminal, markdown, or html).

Proposed solution

I propose adding an operations filter to the status command that would mirror the behavior of run and submit. I would alter the behavior of the CLI flag -o so that -o, --operation would filter operations and the output rendering is controlled by --output-format as in the current behavior.

Additional context

It would be fine with me to include or exclude job labels -- I don't really have a preference on that behavior. It's probably better to include the labels if we're unsure.

We can already show/hide "all" operations (operations that have no active or eligible jobs) with -a, --all-operations or show only incomplete operations with --only-incomplete-operations.

@bdice bdice added the enhancement New feature or request label Feb 27, 2021
@atravitz atravitz self-assigned this Mar 16, 2021
@atravitz atravitz added this to the v1.0 milestone Mar 16, 2021
@atravitz
Copy link
Collaborator

I've definitely tried to do this before because it seems so intuitive. I'll work on this later this week.

@atravitz atravitz removed this from the v1.0 milestone Mar 21, 2021
@kidrahahjo
Copy link
Collaborator

@bdice should this be closed by #593?

@bdice
Copy link
Member Author

bdice commented Mar 9, 2022

I don't think #593 affects this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants