From 60e63f87ae8c74214b00d77e60f3a69e1cc569dc Mon Sep 17 00:00:00 2001 From: Janne Valkealahti Date: Sat, 14 May 2022 17:08:09 +0100 Subject: [PATCH] Update docs --- .../src/main/asciidoc/using-shell-components-flow.adoc | 2 +- .../src/main/asciidoc/using-shell-components-ui.adoc | 2 +- .../src/main/asciidoc/using-shell-components.adoc | 7 ++++++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/spring-shell-docs/src/main/asciidoc/using-shell-components-flow.adoc b/spring-shell-docs/src/main/asciidoc/using-shell-components-flow.adoc index 5cd5f806..0f1af05b 100644 --- a/spring-shell-docs/src/main/asciidoc/using-shell-components-flow.adoc +++ b/spring-shell-docs/src/main/asciidoc/using-shell-components-flow.adoc @@ -2,7 +2,7 @@ ==== Flow ifndef::snippets[:snippets: ../../test/java/org/springframework/shell/docs] -When using <> to build something which involves +When using <> to build something which involves use of a multiple components your implemention may become a bit cluttered. Nothing wrong with that but to ease these use cases we've build a `ComponentFlow` which is able to hook multiple component executions together diff --git a/spring-shell-docs/src/main/asciidoc/using-shell-components-ui.adoc b/spring-shell-docs/src/main/asciidoc/using-shell-components-ui.adoc index aa12eb07..09bf8b34 100644 --- a/spring-shell-docs/src/main/asciidoc/using-shell-components-ui.adoc +++ b/spring-shell-docs/src/main/asciidoc/using-shell-components-ui.adoc @@ -1,5 +1,5 @@ [[using-shell-components-ui]] -==== UI Components +==== Flow Components ifndef::snippets[:snippets: ../../test/java/org/springframework/shell/docs] Starting from _2.1.x_ there is a new component model which provides diff --git a/spring-shell-docs/src/main/asciidoc/using-shell-components.adoc b/spring-shell-docs/src/main/asciidoc/using-shell-components.adoc index e408b03c..feb394e4 100644 --- a/spring-shell-docs/src/main/asciidoc/using-shell-components.adoc +++ b/spring-shell-docs/src/main/asciidoc/using-shell-components.adoc @@ -1,8 +1,13 @@ [[using-shell-components]] === Components -include::using-shell-components-ui.adoc[] +Components are a set of features which are either build-in or something +you can re-use or extend for your own needs. Components in question are +either built-in _commands_ or UI side components providing higher level +features within commands itself. include::using-shell-components-builtin.adoc[] include::using-shell-components-flow.adoc[] + +include::using-shell-components-ui.adoc[]