Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
- Document ShellRunner changes
- Fixes #1067
  • Loading branch information
jvalkeal committed May 22, 2024
1 parent b742264 commit cd7add3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions spring-shell-docs/modules/ROOT/pages/execution.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,15 @@ spring:

NOTE: Versions up to `3.2.x` had all runners enabled by default, starting from `3.3.x`
only `NonInteractiveShellRunner` is enabled by default.

Starting from `3.3.x` a `ShellRunner` interface has a new method:

[source, java]
----
default boolean run(String[] args) throws Exception {
return false;
}
----

IMPORTANT: This will the main api going forward and other existing methods taking boot's
`ApplicationArguments` has been deprecated and will be removed in future.

0 comments on commit cd7add3

Please sign in to comment.