summaryrefslogtreecommitdiff
path: root/net:foret/completion/_sdk-factory.sh
diff options
context:
space:
mode:
Diffstat (limited to 'net:foret/completion/_sdk-factory.sh')
-rw-r--r--net:foret/completion/_sdk-factory.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/net:foret/completion/_sdk-factory.sh b/net:foret/completion/_sdk-factory.sh
new file mode 100644
index 0000000..53f1cca
--- /dev/null
+++ b/net:foret/completion/_sdk-factory.sh
@@ -0,0 +1,7 @@
+#compdef sdk-factory.sh
+
+_arguments -A "-*" -- \
+ "=FILE*:file:_files"\
+ "{-c,--config}:file:_files"\
+ "*:targets:($([ -n "\$TARGET" ] && for i in "" "-PLUGIN" "-APPSDK" "-PERF" ; echo \$TARGET$i))"
+