tinyactors data

List each chart's data declarations.

Usage

shell
tinyactors data [options] INPUT...

Lists each chart's data declarations: id, the state declaring it, its expression and its line. 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 DIRSearch DIR for a src that is not beside the file naming it, in the order given. Repeatable.
  • -c, --chart NAMELook at the chart named NAME only. 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

shell
tinyactors data order.scxml
output
# Data

## Charts

### Chart 1: order

- **Name**: order

#### Data

| ID | State | Expression | Line |
| --- | --- | --- | --- |
| total | /scxml | 0 | 3 |
| attempts | /scxml | 0 | 4 |
| charge | /scxml | null | 5 |

List the data declarations of a chart.

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