|
This version is still in development and is not considered stable yet. For the latest stable version, please use Spring Shell 4.0.1! |
Script
The script command allows you to execute a series of commands from a specified script file. This is useful for automating repetitive tasks or setting up an environment quickly.
This command expects a file absolute path as an option, which points to the script file containing the commands to be executed. For example:
$>script --file /absolute/path/to/your/script.txt
The script file should contain one command per line, and the commands will be executed in the order they appear in the file. Comments can be added to the script file by starting a line with a # character.