signac-flow
signac-flow copied to clipboard
Check status for specific operations
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.
I've definitely tried to do this before because it seems so intuitive. I'll work on this later this week.
@bdice should this be closed by #593?
I don't think #593 affects this issue.