From 817ac4550e149c91f007417cb43dcc80d28dbd5d Mon Sep 17 00:00:00 2001 From: emkael Date: Tue, 25 Oct 2016 01:05:50 +0200 Subject: * bash autocomplete script for backend-run --- bin/list-backend-scripts | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 bin/list-backend-scripts (limited to 'bin/list-backend-scripts') 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" -- cgit v1.2.3