Update docs

This commit is contained in:
Janne Valkealahti
2023-10-07 15:35:42 +01:00
parent 923498bbcf
commit edddc0b2e8
6 changed files with 7 additions and 7 deletions

View File

@@ -2,10 +2,10 @@
= Interaction Mode
:page-section-summary-toc: 1
ifndef::snippets[:snippets: ../../test/java/org/springframework/shell/docs]
ifndef::snippets[:snippets: ../../../../src/test/java/org/springframework/shell/docs]
Command registration can define `InteractionMode` which is used to hide commands
depending which mode shell is executing. More about that in xref:using-shell-execution.adoc#using-shell-execution-interactionmode[Interaction Mode].
depending which mode shell is executing. More about that in xref:execution.adoc#using-shell-execution-interactionmode[Interaction Mode].
You can define it with `CommandRegisration`.