summaryrefslogtreecommitdiffstats
path: root/docs/testing/developer/devguide/cli.rst
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-03-28 07:21:46 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-03-28 07:21:46 +0000
commit784ef9f52c634aaa4e8727bb4a80cef1793d3391 (patch)
tree1c59edea8eb8f87a5a0c39ae2a4d38b3c0ed20d4 /docs/testing/developer/devguide/cli.rst
parent19f370a198baabed7a6bca3a149049bbc0f9ac73 (diff)
parent70a2d13f97596df1d748bc3ebc31fc19abca23bb (diff)
Merge "Rename docs/testing/developer/design to docs/testing/developer/devguide" into stable/danube
Diffstat (limited to 'docs/testing/developer/devguide/cli.rst')
-rw-r--r--docs/testing/developer/devguide/cli.rst24
1 files changed, 24 insertions, 0 deletions
diff --git a/docs/testing/developer/devguide/cli.rst b/docs/testing/developer/devguide/cli.rst
new file mode 100644
index 00000000..487bdec5
--- /dev/null
+++ b/docs/testing/developer/devguide/cli.rst
@@ -0,0 +1,24 @@
+- Which framework has been used and why
+- How to extend to more commands
+
+Original content from DEVELOP.md
+
+ ### CLI
+
+ Click currently supports Bash completion. The prerequisite for this is that the program
+ needs to be installed correctly. To install Qtip, execute the following command in root
+ folder of Qtip:
+
+ ```
+ cd <project root>
+ pip install -e .
+ ```
+
+ Once the installation has been completed successfully, the following needs to be added to
+ the `.bashrc` file:
+
+ ```
+ eval "$(_QTIP_COMPLETE=source qtip)"
+ ```
+
+ The above would activate command completion for Qtip.