提交 be78ff82 编写于 作者: W wuzewu

Update test script

上级 a0f84ff1
...@@ -3,5 +3,34 @@ set -o errexit ...@@ -3,5 +3,34 @@ set -o errexit
base_path=$(cd `dirname $0`; pwd) base_path=$(cd `dirname $0`; pwd)
cd $base_path cd $base_path
alias hub="python $base_path/../paddlehub/commands/hub.py "$@""
# test install command # test install command
hub install lac hub install lac
# test show command
hub show lac
# test list command
hub list
# test version command
hub version
# test help command
hub help
# test uninstall command
hub uninstall lac
# test clear command
hub clear
# test search command
hub search lac
# test run command
hub run lac --input_text "今天天气不错"
# test download command
hub download lac
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册