Expand description
Query and control command handlers.
Every option in this module addresses an execution that already exists in
the tracking store instead of launching a new one: --status, --list,
--upload-log, --stop, --terminate, --attach, --resume,
--resume-all and --cleanup, plus --alias and --rename (issue #231).
dispatch_query_command is the single entry point the CLI calls before it
starts interpreting the command line as a command to run (issue #162).
Structs§
- Query
Outcome - Uniform shape every query handler reports back.
Functions§
- dispatch_
query_ command - Run the query/control mode selected by the wrapper options, if any.
- handle_
cleanup - Handle
--cleanup/--cleanup-dry-run. - handle_
cleanup_ target - handle_
upload_ log_ query - Handle
--upload-log, which reports its own exit code. - report_
result - Print a handler result, returning the process exit code.