Update docs

- Polish getting started
- Relates #433
This commit is contained in:
Janne Valkealahti
2022-06-14 21:07:17 +01:00
parent 189794b0ef
commit 088c4267b5

View File

@@ -14,13 +14,11 @@ and configures the `spring-boot-maven-plugin` to generate an executable über-ja
==== ====
[source, xml] [source, xml]
---- ----
...
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId> <artifactId>spring-boot-starter</artifactId>
</dependency> </dependency>
...
</dependencies> </dependencies>
---- ----
==== ====
@@ -35,13 +33,11 @@ configuring only the necessary beans as needed:
==== ====
[source, xml, subs=attributes+] [source, xml, subs=attributes+]
---- ----
...
<dependency> <dependency>
<groupId>org.springframework.shell</groupId> <groupId>org.springframework.shell</groupId>
<artifactId>{spring-shell-starter}</artifactId> <artifactId>{spring-shell-starter}</artifactId>
<version>{project-version}</version> <version>{project-version}</version>
</dependency> </dependency>
...
---- ----
==== ====
@@ -95,9 +91,6 @@ java -jar target/demo-0.0.1-SNAPSHOT.jar
---- ----
==== ====
You are greeted by the following screen (the banner comes from Spring Boot and can be
https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#boot-features-banner[customized]:
==== ====
[source] [source]
---- ----
@@ -110,7 +103,7 @@ A yellow `shell:>` prompt invites you to type commands. Type `add 1 2`, press `E
==== ====
[source, bash] [source, bash]
---- ----
shell:>add 1 2 shell:>add --a 1 --b 2
3 3
---- ----
==== ====