dromeus command. Each command makes one library call, so anything a command does you can also do from Python.
Every command accepts
--debug to print the full traceback on error, and dromeus --version prints the installed version.
Point at your task
draft, check, run and doctor take a --task option of the form module:function. Dromeus loads module from the current directory and calls the function with no arguments. It may return:
- the
TrainingTask, which is enough fordraft,checkanddoctor; (TrainingTask, LocalData), whichrunneeds, since a running node trains on its own records.
task() and setup().
dromeus draft
Prints the draft hash. It uses the default NoLoCo and transport settings, without privacy or divergence warnings. For those, call
dromeus.make_draft from Python.
dromeus check
dromeus doctor
--task is optional. Doctor runs these checks and prints one line for each, with a fix for anything not ok:
Example output:
dromeus run
dromeus watch.
dromeus watch
--once prints what is logged so far and exits. See Monitor a run.
Exit codes
Errors print as one line on stderr. Add--debug for the full traceback.