office: one word for everything — forward board/reset/delete/merge/review/triage, and a help page that lists all of it

This commit is contained in:
Sam
2026-11-13 17:26:58 +11:00
parent 6dcdcbc818
commit 0717697f03
7 changed files with 150 additions and 96 deletions

View File

@@ -1,8 +1,8 @@
#!/usr/bin/env python3
"""Review one task's diff and print the verdict. Merge nothing.
bin/review AUD-164 # review and print
bin/review AUD-164 --post # also write the verdict on the task
office review AUD-164 # review and print
office review AUD-164 --post # also write the verdict on the task
This is the same review `bin/merge` runs, on its own, so a person can look
before the merge is attempted. Exit 0 means nothing blocking was found; exit 5
@@ -20,7 +20,7 @@ def main():
args = [a for a in sys.argv[1:] if not a.startswith("--")]
post = "--post" in sys.argv
if len(args) != 1:
h.say("usage: bin/review <task> [--post]")
h.say("usage: office review <task> [--post]")
return 2
issue = h.find_issue(args[0])