Files
spring-shell/spring-shell-docs/modules/ROOT/pages/commands/builtin/script.adoc
Janne Valkealahti 814ed4958f Migrate docs to antora
- This is basically copy from main branch minus all
  terminal ui things.
- Relates #971
2024-01-12 14:02:10 +00:00

9 lines
378 B
Plaintext

[[built-in-commands-script]]
= Script
:page-section-summary-toc: 1
The `script` command accepts a local file as an argument and replays commands found there, one at a time.
Reading from the file behaves exactly like inside the interactive shell, so lines starting with `//` are considered
to be comments and are ignored, while lines ending with `\` trigger line continuation.