Reference
CLI reference
Every verb of the ormaos command line, with its arguments as the argument parser of the documented version defines them.
ormaos [-h] [--version] <verb> ...ormaos run records; every other verb reads what is in .ormaos/ of the current directory and never runs the program. The tables on these pages are read from the argument parser of ormaos at the pinned commit; the text around them explains each argument.
| Verb | From the parser |
|---|---|
ormaos run | run a command and record the Python processes it starts |
ormaos show | show the overview of a recording |
ormaos tree | show the calls below an address |
ormaos exceptions | show the exceptions of an address, swallowed first |
ormaos path | show the lines a call ran, in order |
ormaos io | show the I/O of an address: database, files, subprocesses, HTTP |
ormaos logs | show the logging records of an address, also the ones the level dropped |
ormaos diff | show what two recordings did differently |
ormaos list | list the recordings, newest first |
ormaos status | what ormaos can do here, and what is in .ormaos/ now |
ormaos guide | how to use ormaos, for a coding agent (start here) |
Options of ormaos itself#
--version#
Prints the version and exits with 0.
$ ormaos --version
ormaos 0.0.1-h, --help#
ormaos --help lists the verbs; ormaos <verb> --help describes one verb and ends with an example.
$ ormaos --help
usage: ormaos [-h] [--version] <verb> ...
Records what happened inside a Python execution and shows it: what ran, how often, what was raised and caught, what I/O happened, what was not recorded. You, or your coding agent, decide whether that is what should have happened.
positional arguments:
<verb>
run run a command and record the Python processes it starts
show show the overview of a recording
tree show the calls below an address
exceptions show the exceptions of an address, swallowed first
path show the lines a call ran, in order
io show the I/O of an address: database, files, subprocesses,
HTTP
logs show the logging records of an address, also the ones the
level dropped
diff show what two recordings did differently
list list the recordings, newest first
status what ormaos can do here, and what is in .ormaos/ now
guide how to use ormaos, for a coding agent (start here)
options:
-h, --help show this help message and exit
--version show program's version number and exit
start here:
ormaos guide
ormaos run -- python job.pyRules for every verb#
- An option is written in full:
--limis not--limit. A shortened option exits with2. - The address of a reading verb defaults to
last, the newest recording. --jsonprints one JSON document on stdout, also for errors. See JSON output.- On a terminal the first line is bold, the addresses are colored and the
next:line is dim. There is no color when the output is not a terminal, whenNO_COLORis set, or whenTERMisdumb. - Exit codes: see Exit codes.