Subsystem

subroutine document

The 2 commands under subroutine document, each with its arguments and options.

subroutine document [OPTIONS] COMMAND [ARGS]...

Also answers to subroutine doc.

Write down what you concluded.

subroutine document create

subroutine document create [OPTIONS] {title}

Write a document — a decision, a finding, a design, a dead end.

A decision, a finding and a dead end are in force the moment you write them, so they start as 'active'; a specification or a design starts as 'draft'. Pass '--status draft' for a decision you are still thinking about.

Examples:

subroutine document create "Why we dropped the queue" --type decision

cat notes.md | subroutine document create "Review findings" --type finding

A comment is what happened; a document is what you concluded. If the next person to look would need to read it, it is a document.

Arguments

Options

subroutine document edit

subroutine document edit [OPTIONS] [which]

Revise a document you have already written.

Examples:

subroutine document edit 42

subroutine document edit 42 --title "What we settled, and why"

cat revised.md | subroutine document edit 42

With nothing to change, this opens the document in your editor.

A conclusion that cannot be revised is a record of what you concluded once — so this is what keeps the instance the place the *current* answer lives.

Arguments

Options