summaryrefslogtreecommitdiff
path: root/bin/list-backend-scripts
diff options
context:
space:
mode:
Diffstat (limited to 'bin/list-backend-scripts')
-rwxr-xr-xbin/list-backend-scripts3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/list-backend-scripts b/bin/list-backend-scripts
new file mode 100755
index 0000000..7f91060
--- /dev/null
+++ b/bin/list-backend-scripts
@@ -0,0 +1,3 @@
+#!/bin/bash
+DIR=$(dirname $0)
+find "$DIR/../app/backend" -maxdepth 1 -name \*.py -printf '%f\n' | sed 's/\.py$//' | grep "^$2"