update ACTIONS docs + generator

This commit is contained in:
Tristan Rowley
2020-01-31 20:20:14 +00:00
parent df31b68414
commit add640847f
2 changed files with 11 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
# Auto-generated Actions list # Auto-generated Actions list
Fri 10 Jan 17:25:14 UTC 2020 Fri 31 Jan 20:19:55 UTC 2020
for branch=feature_plugins for branch=feature_plugins
@@ -173,13 +173,14 @@ for branch=feature_plugins
* set_shader_speed_layer_([0-2])_amount * set_shader_speed_layer_([0-2])_amount
### Plugin routes ### Plugin routes
* test_plugin (from MidiActionsTestPlugin) * (.*)&&(.*) (from MultiActionsPlugin)
* cycle_shaders (from MidiActionsTestPlugin) * test_plugin (from TestPlugin)
* run_automation (from MidiActionsTestPlugin) * cycle_shaders (from TestPlugin)
* stop_automation (from MidiActionsTestPlugin) * run_automation (from TestPlugin)
* toggle_pause_automation (from MidiActionsTestPlugin) * stop_automation (from TestPlugin)
* pause_automation (from MidiActionsTestPlugin) * toggle_pause_automation (from TestPlugin)
* toggle_loop_automation (from MidiActionsTestPlugin) * pause_automation (from TestPlugin)
* toggle_loop_automation (from TestPlugin)
---- ----

View File

@@ -12,11 +12,11 @@ grep " def " actions.py | grep -v "^#" | sed -e 's/ def //' | sed -e 's/self//'
echo echo
echo "## Dynamic routes" echo "## Dynamic routes"
grep '( r"' actions.py | sed -e 's/\(.*\)"\(.*\)"\(.*\)/ * \2/' grep '( r"' actions.py | sed -e 's/\(.*\)"\(.*\)"\(.*\)/ * \2/' | sed -e 's/\$//' | sed -e 's/\^//'
echo echo
echo "### Plugin routes" echo "### Plugin routes"
grep "( r\"" plugins/*.py | sed -e 's/plugins\/\(.*\)\.py:\(.*\)\( r\"\)\(.*\)\"\(.*\)/ * \4\t(from \1)/' | grep -v "open_serial" grep "( r\"" plugins/*.py | sed -e 's/plugins\/\(.*\)\.py:\(.*\)\( r\"\)\(.*\)\"\(.*\)/ * \4\t(from \1)/' | grep -v "open_serial" | sed -e 's/\$//' | sed -e 's/\^//'
echo echo
echo "----" echo "----"