tinyactors events
List every event name and the transitions, raises and sends using it.
Usage
tinyactors events [options] INPUT...Lists every event name the charts use. Counts the transitions that handle each one and the raises and sends that make it by name. Reads one image (.tai), one snapshot, one system manifest or SCXML charts, compiled together into one image first. --segment picks a snapshot's image, and - reads standard input.
Options
-W, --warnings-as-errorsRefuse a chart that compiles with a warning.-I, --include DIRSearchDIRfor a src that is not beside the file naming it, in the order given. Repeatable.-c, --chart NAMELook at the chart namedNAMEonly. Repeatable.-s, --segment NRead the image that segment N of a snapshot runs. Default: the newest live segment.
Configure output formats like -f json using the shared options on the command reference.
Examples
tinyactors events system.xml# Events
## Events
| Name | Transitions | Raises | Sends |
| --- | --- | --- | --- |
| authorize | 1 | 0 | 0 |
| cancel | 1 | 0 | 0 |
| capture | 1 | 0 | 0 |
| charge | 0 | 0 | 1 |
| charge.declined | 2 | 0 | 0 |
| charge.ok | 1 | 0 | 0 |
| checkout | 1 | 0 | 0 |
| decline | 1 | 0 | 0 |
| error.communication | 2 | 0 | 0 |
| item.added | 1 | 0 | 0 |
| payment.timeout | 2 | 0 | 1 |
| shipped | 1 | 0 | 0 |
| void | 1 | 0 | 0 |List the events of a system manifest's charts.
Exit status
1An input is refused: it does not compile or verify, or it is damaged or of an unknown format.3A file cannot be read or written, or memory runs out.
Related pages
tinyactors statesList each chart's states as a tree in document order.tinyactors transitionsList each chart's transitions with events, conditions and targets.tinyactors dataList each chart's data declarations.tinyactors expressionsList each chart's expressions and scripts with where they are.tinyactors pathFind the shortest path to a state: events, conditions and transitions.tinyactors graphDraw each chart, or list its boxes and edges.tinyactors disassembleList each chart's executable content instruction by instruction.tinyactors inspectShow what an image, a snapshot or a blob holds.