forked from PotoYang/spring-in-action-v5-translate
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6b2e362
commit 71af2b0
Showing
1 changed file
with
9 additions
and
1 deletion.
There are no files selected for viewing
10 changes: 9 additions & 1 deletion
10
...pring-ying-yong-cheng-xu/a.5-cong-ming-ling-hang-chu-shi-hua-xiang-mu/README.MD
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,9 @@ | ||
A.5 从命令行初始化项目 | ||
# A.5 从命令行初始化项目 | ||
|
||
基于 IDE 和浏览器界面的 Spring Initializr,是最常见的创建 Spring 项目的方式。他们都只是 Initializr 应用 REST 服务的客户端。在某些特殊情况下(例如,脚本场景中),您可能会发现直接从命令行使用 Initializr 服务很有用。 | ||
|
||
使用 API 有两种方法: | ||
* 使用 curl 命令(或类似的命令行 REST 客户端命令) | ||
* 使用 Spring Boot 命令行界面(又名 Spring Boot CLI) | ||
|
||
让我们分别讨论这两种方法,从 curl 命令开始。 |