doc: more info on task (un)registration
1 files changed, 23 insertions(+), 0 deletions(-)

M README.md
M README.md +23 -0
@@ 244,6 244,29 @@ Then launching `pystuck` (possibly from 
 ```
 
 
+### Organize tasks in code
+
+A common pattern is to have a `project/tasks.py` module.
+
+One can manage the tasks using the `register-operations` and
+`unregister-operation` commands.
+
+```bash
+$ rework register-operations <dburi> /path/to/project/tasks.py
+```
+
+and also
+
+```bash
+``` rework unregister-operation <dburi> <opname>
+delete <opname> <domain> /path/to/project/tasks.py <hostid>
+really remove those [y/n]? [y/N]: y
+```
+
+This pair of operations can be used also whenever a task input or
+output specifications have changed.
+
+
 ## API
 
 The `api` module exposes most if what is needed. The `task` module