|
|
|
@ -352,6 +352,7 @@ and the default excludes are
|
|
|
|
|
See the output of `spring help jar` for more information.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[cli-init]]
|
|
|
|
|
=== Initialize a new project
|
|
|
|
|
The `init` command allows you to create a new project using https://start.spring.io
|
|
|
|
@ -364,9 +365,9 @@ without leaving the shell. For example:
|
|
|
|
|
Project extracted to '/Users/developer/example/my-project'
|
|
|
|
|
----
|
|
|
|
|
|
|
|
|
|
This creates a `my-project` directory with a Maven-based project using `spring-boot-starter-web`
|
|
|
|
|
and `spring-boot-starter-data-jpa`. You can list the capabilities of the service
|
|
|
|
|
using the `--list` flag
|
|
|
|
|
This creates a `my-project` directory with a Maven-based project using
|
|
|
|
|
`spring-boot-starter-web` and `spring-boot-starter-data-jpa`. You can list the
|
|
|
|
|
capabilities of the service using the `--list` flag
|
|
|
|
|
|
|
|
|
|
[indent=0]
|
|
|
|
|
----
|
|
|
|
@ -403,6 +404,8 @@ instance, the following command creates a gradle project using Java 8 and `war`
|
|
|
|
|
Content saved to 'sample-app.zip'
|
|
|
|
|
----
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[cli-shell]]
|
|
|
|
|
=== Using the embedded shell
|
|
|
|
|
Spring Boot includes command-line completion scripts for BASH and zsh shells. If you
|
|
|
|
@ -428,6 +431,8 @@ The embedded shell supports ANSI color output as well as `tab` completion. If yo
|
|
|
|
|
to run a native command you can use the `$` prefix. Hitting `ctrl-c` will exit the
|
|
|
|
|
embedded shell.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[cli-groovy-beans-dsl]]
|
|
|
|
|
== Developing application with the Groovy beans DSL
|
|
|
|
|
Spring Framework 4.0 has native support for a `beans{}` "`DSL`" (borrowed from
|
|
|
|
|