aboutsummaryrefslogtreecommitdiffstats
path: root/cli/functest-complete.sh
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2016-05-06 01:36:30 +0200
committerjose.lausuch <jose.lausuch@ericsson.com>2016-05-09 16:58:04 +0200
commitbd00e6f289a69badf7beea827b20764ed3252c7a (patch)
tree77cfd39903e5ebf9ea492737a499ef57346cd3f1 /cli/functest-complete.sh
parent073ca5525f38d7a7c9c67252d1b996e895ff9917 (diff)
CLI implementation
JIRA: FUNCTEST-243 Change-Id: Ibf0ef9bcc5f3aeda96b050827b954ce060317613 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'cli/functest-complete.sh')
-rw-r--r--cli/functest-complete.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/cli/functest-complete.sh b/cli/functest-complete.sh
new file mode 100644
index 000000000..f01490713
--- /dev/null
+++ b/cli/functest-complete.sh
@@ -0,0 +1,8 @@
+_functest_completion() {
+ COMPREPLY=( $( env COMP_WORDS="${COMP_WORDS[*]}" \
+ COMP_CWORD=$COMP_CWORD \
+ _FUNCTEST_COMPLETE=complete $1 ) )
+ return 0
+}
+
+complete -F _functest_completion -o default functest;