Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The controller accepts the following input format (as JSON) through stdinread from a JSON file. The input JSON must be on a single lineJSON file is called input.json and is found in $XDG_CONFIG_HOME/railway if XDG_CONFIG_HOME is set or from $HOME/.config/railway if it isn't.

Field nameContent typeValue rangeNumber of valuesDescription
Actionint0-MAXINT, 0-47,0-47,0-14Contains the description of a new train action in the format: [ id, start, destination, reverse flag ]