You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Use exit code of printProcessQueue to indicate if the queue is empty #87
It's useful to be able to, in automated processing, take different actions based on whether there's anything in the process queue (e.g. skip processing if nothing got ingested.) printProcessQueue gives that information, but it's hard to check that programmatically.
Proposed enhancement
printProcessQueue should take a flag (letter TBD). Iff this flag is set, set the exit code: 0 if there's something in the process queue (by analogy with grep), and 1 if it's empty.
Possible flag name: -q for quiet (and then only set exit status, don't print...although maybe we want the ability to print output and also set exit status?)
Alternatives
magically grepping the output
OS, Python version, and dependency version information:
Activity
jtniehof commentedon Aug 10, 2021
Also possibly a flag for "count" that just dumps the number of files in the process queue to stdout (easier to parse than grepping the detail)