EffortlessAPI

ssot.me

Your Single-Source-Of-Truth Toolbox

A State Machine Example

$> ssotme draw-io-to-some-state-machine-format -i my-draw-io-export.json -o my-state-machine-format.json
$> ssotme diagrams-net-to-some-state-machine-format -i my-diagrams-net-export.json -o my-state-machine-format.json
$> ssotme lucidchart-to-some-state-machine-format -i my-lucidchart-export.json -o my-state-machine-format.json
$> ssotme flowchart-maker-to-some-state-machine-format -i my-flowchart-maker-export.json -o my-state-machine-format.json
graph LR subgraph Rulebook subgraph Single Source of Truth SomeStateMachineFormat.json end subgraph State Machine Editors A[Draw.Io] <--> SomeStateMachineFormat.json B[Diagrams.net] <--> SomeStateMachineFormat.json C[Lucidchart] <--> SomeStateMachineFormat.json D[Flowchart Maker] <--> SomeStateMachineFormat.json E[State Machine Designer] <--> SomeStateMachineFormat.json end subgraph Language Specific Code SomeStateMachineFormat.json --> F[Generated Docs] SomeStateMachineFormat.json --> G[PHP Code] SomeStateMachineFormat.json --> H[Python Code] SomeStateMachineFormat.json --> I[Java Code] SomeStateMachineFormat.json --> J[C# Code] end end
$> ssotme json-to-state-machine-docs -i my-state-machine-format.json -o docs.html
$> ssotme json-to-python-state-machine-sdk -i my-state-machine-format.json -o my-custom-statemachine.py
$> ssotme json-to-java-state-machine-sdk -i my-state-machine-format.json -o my-custom-statemachine.java
$> ssotme json-to-csharp-state-machine-sdk -i my-state-machine-format.json -o my-custom-statemachine.cs
$> ssotme json-to-php-state-machine-sdk -i my-state-machine-format.json -o my-custom-statemachine.php
$> ssotme json-to-etc, etc, etc...