You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -52,31 +52,25 @@ Running it as an executable _jar_ in an interactive mode:
52
52
$ java -jar demo.jar
53
53
54
54
shell:>help
55
-
AVAILABLE COMMANDS
56
-
55
+
Available commands:
57
56
Built-In Commands
58
-
help: Display help about available commands
59
-
clear: Clear the shell screen.
60
-
quit, exit: Exit the shell.
61
-
history: Display or save the history of previously run commands
62
-
version: Show version info
63
-
script: Read and execute commands from a file.
64
-
65
-
Demo Application
66
-
hi:
57
+
clear: Clear the terminal screen
58
+
version: Show version info
59
+
help: Display help about available commands
60
+
SpringShellApplication Commands
61
+
hi: N/A
67
62
68
63
shell:>hi
69
64
hi
70
65
----
71
66
72
-
Or running it in a non-interactive mode:
67
+
== Tutorials and Sample apps
73
68
74
-
[source,bash]
75
-
----
76
-
$ java -jar demo.jar hi
69
+
You can find complete tutorials and sample applications in the `spring-shell-samples` repository:
77
70
78
-
hi
79
-
----
71
+
- https://github.com/spring-projects/spring-shell/tree/main/spring-shell-samples/spring-shell-sample-hello-world[Hello World Spring Shell application]
72
+
- https://github.com/spring-projects/spring-shell/tree/main/spring-shell-samples/spring-shell-sample-spring-boot[Hello World Spring Shell application with Spring Boot]
73
+
- https://github.com/spring-projects/spring-shell/tree/main/spring-shell-samples/spring-shell-sample-petclinic[Spring Pet Clinic CLI application]
80
74
81
75
== Getting Help
82
76
Are you having trouble with Spring Shell? We want to help!
@@ -104,27 +98,6 @@ Building and running tests:
104
98
./mvnw install
105
99
----
106
100
107
-
If you want to build the project in a Docker container, you can proceed as follows:
108
-
109
-
[source,bash]
110
-
----
111
-
docker run -it --mount type=bind,source="$(pwd)",target=/spring-shell maven:3-openjdk-17 bash
112
-
cd spring-shell
113
-
./mvnw install
114
-
----
115
-
116
-
This will mount the source code that you cloned previously on the host inside the container.
117
-
If you want to work on a copy of the source code inside the container (no side effects on the host),
0 commit comments