From 77da8d364b27e1180405c729d7fed1f4a524806b Mon Sep 17 00:00:00 2001 From: qibaoguang Date: Mon, 9 Mar 2015 23:35:26 +0800 Subject: [PATCH] Update 55.6. Using the embedded shell.md --- .../55.6. Using the embedded shell.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/VII. Spring Boot CLI/55.6. Using the embedded shell.md b/VII. Spring Boot CLI/55.6. Using the embedded shell.md index e69de29..5a2052e 100644 --- a/VII. Spring Boot CLI/55.6. Using the embedded shell.md +++ b/VII. Spring Boot CLI/55.6. Using the embedded shell.md @@ -0,0 +1,14 @@ +### 55.6. 使用内嵌shell + +Spring Boot包括完整的BASH和zsh shells的命令行脚本。如果你不使用它们中的任何一个(可能你是一个Window用户),那你可以使用`shell`命令启用一个集成shell。 +```shell +$ spring shell +Spring Boot (v1.3.0.BUILD-SNAPSHOT) +Hit TAB to complete. Type \'help' and hit RETURN for help, and \'exit' to quit. +``` +从内嵌shell中可以直接运行其他命令: +```shell +$ version +Spring CLI v1.3.0.BUILD-SNAPSHOT +``` +内嵌shell支持ANSI颜色输出和tab补全。如果需要运行一个原生命令,你可以使用`$`前缀。点击ctrl-c将退出内嵌shell。