From add640847f61ed59e86bae9b954c9856bc4e1369 Mon Sep 17 00:00:00 2001 From: Tristan Rowley Date: Fri, 31 Jan 2020 20:20:14 +0000 Subject: [PATCH] update ACTIONS docs + generator --- ACTIONS.md | 17 +++++++++-------- dotfiles/generate-list-actions.sh | 4 ++-- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/ACTIONS.md b/ACTIONS.md index 38f368a..c99205b 100644 --- a/ACTIONS.md +++ b/ACTIONS.md @@ -1,6 +1,6 @@ # Auto-generated Actions list -Fri 10 Jan 17:25:14 UTC 2020 +Fri 31 Jan 20:19:55 UTC 2020 for branch=feature_plugins @@ -173,13 +173,14 @@ for branch=feature_plugins * set_shader_speed_layer_([0-2])_amount ### Plugin routes - * test_plugin (from MidiActionsTestPlugin) - * cycle_shaders (from MidiActionsTestPlugin) - * run_automation (from MidiActionsTestPlugin) - * stop_automation (from MidiActionsTestPlugin) - * toggle_pause_automation (from MidiActionsTestPlugin) - * pause_automation (from MidiActionsTestPlugin) - * toggle_loop_automation (from MidiActionsTestPlugin) + * (.*)&&(.*) (from MultiActionsPlugin) + * test_plugin (from TestPlugin) + * cycle_shaders (from TestPlugin) + * run_automation (from TestPlugin) + * stop_automation (from TestPlugin) + * toggle_pause_automation (from TestPlugin) + * pause_automation (from TestPlugin) + * toggle_loop_automation (from TestPlugin) ---- diff --git a/dotfiles/generate-list-actions.sh b/dotfiles/generate-list-actions.sh index e5afe73..363c7bb 100755 --- a/dotfiles/generate-list-actions.sh +++ b/dotfiles/generate-list-actions.sh @@ -12,11 +12,11 @@ grep " def " actions.py | grep -v "^#" | sed -e 's/ def //' | sed -e 's/self//' echo 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 "### 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 "----"