Feature #54
closedGive script name as parameter in command line mode
0%
Description
Currently it is possible to run a script only by using the command "script" after the command line mode has started. It would be nice to be able to give a specific script as a parameter when executing ETC.
Updated by Anonymous almost 13 years ago
- Status changed from New to Resolved
Implemented the feature and it will be available on version 0.3.3. With the new changes the user can give a file (or the path if the file is not in the same directory) as a parameter and the ETC will run it as a script. The option "-e" can be used so ETC will exit directly after the execution of the script. If this option is not given, after execution of the script the ETC will continue in command line mode. For example, to run a script named script.etc and exit after execution the following command can be used:
java -Detc.uiMode=cl -jar ETC-Jar-0.3.3.jar -e script.etc
Note that scripts cannot be used in GUI mode.
Updated by Anonymous almost 13 years ago
Closing the feature because its functionality has been confirmed to work on 0.4.0