#snippets #command-line-tool #async-fsm-bake #async-fsm

app async_fsm_bake

A CLI tool to generate async_fsm code snippets from plantuml diagram

1 unstable release

new 0.1.0 May 12, 2025

#773 in Command line utilities

MIT license

9KB
184 lines

async_fsm_bake

Bake state machine (async_fsm) source code snippet out of plantuml diagram.

async_fsm_bake -i <input_file>.puml -o <output_dir_name>

params

  • -i --input Sets a input file with plantuml state machine diagram.
  • -o --output <OUT_DIR> Sets a out directory for generated fsm.

example diagram

@startuml

[*] --> Idle
Idle --> [*] : EvOnExit
Idle : Some notes

Idle-> Operation : EvOnTouch
Operation --> Idle : EvOnKeyDown

@enduml

Dependencies

~4.5–6MB
~120K SLoC