Update docs

- Split some adoc files
- Shuffle to reorg structure
- Relates #383
This commit is contained in:
Janne Valkealahti
2022-05-11 10:18:11 +01:00
parent 3515885993
commit bed8457ff2
17 changed files with 101 additions and 77 deletions

View File

@@ -0,0 +1,18 @@
=== Execution
==== Interaction Mode
Starting from _2.1.x_ a build-in support has been added to distinguish between interactive
and non-interactive modes. This has been added so that it's easier to use shell as a
simple command-line tool without requiring customisation to accomplish that.
Currently interactive mode is entered if any command line options are passed when starting
or running a shell from a command-line. This especially works well when shell application
is compiled with <<native>>.
Some commands may not have any usefull meaning if running on interactive mode
or vice versa on non-interactive mode. For example a build-in `exit` command
have no meaning in non-interactive mode as it's used to exit interactive mode.
Annotation `@ShellMethod` has a field `interactionMode` which can be used to instruct
shell when particular command is available.