Update documentation

This commit is contained in:
Mahmoud Ben Hassine
2025-04-25 10:13:56 +02:00
parent d909f79d7b
commit e3cb93791d
49 changed files with 182 additions and 189 deletions

View File

@@ -3,7 +3,7 @@
ifndef::snippets[:snippets: ../../test/java/org/springframework/shell/docs]
On default a missing command is handled via `CommandNotFoundResultHandler`
By default, a missing command is handled via `CommandNotFoundResultHandler`
and outputs a simple message:
[source, text]
@@ -12,7 +12,7 @@ shell:>missing
No command found for 'missing'
----
Internally `CommandNotFoundResultHandler` is using `CommandNotFoundMessageProvider`
Internally, `CommandNotFoundResultHandler` is using `CommandNotFoundMessageProvider`
which is a simple function taking a `ProviderContext` and returning a text
message. Below is an example what a custom message provider might look like.