Skip to main content

Module query_commands

Module query_commands 

Source
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§

QueryOutcome
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.