command_line
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
command_line [2019/11/23 16:20] – Fix error in /projectLogPath example andrew | command_line [2021/10/21 04:22] – dmitry | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Running EasyMorph from the command line ===== | + | ===== Running EasyMorph |
- | + | To execute EasyMorph projects (.morph files) from the command line use the standalone Command-Line Worker (CLW) utility. | |
- | It is possible to execute EasyMorph projects (.morph files) from the command line. This can be used for scheduling EasyMorph projects using Windows | + | |
- | | + | ==== Features ==== |
- | **Examples** | + | * Can be used by any Windows |
- | | + | * Support for project parameters |
- | Run project | + | |
- | | + | |
- | + | | |
- | Project [[parameters]] can be defined from the command line as well. If a project parameter is not defined from the command line than it keeps its default value. If a parameter name or parameter value contains spaces then it must be wrapped in double quotes. | + | * Support for file repositories |
- | morph.exe /c myproject.morph / | + | |
- | Generate report: | + | ==== Installation and configuration ==== |
- | | + | Download the utility from the [[https:// |
+ | | ||
+ | * Morph.Cmd.Config.exe - the configurator tool with a GUI | ||
+ | |||
+ | To configure CLW, run the configuration utility first. Note that CLW doesn' | ||
+ | |||
+ | ==== Syntax ==== | ||
| | ||
- | Generate report (using | + | Run project without |
- | | + | |
| | ||
- | Override default location of the license key (from the configuration file): | + | Project [[parameters]] can be defined |
- | morph.exe /c myproject.morph / | + | |
- | + | Run project with parameters: | |
- | **Documentation** | + | |
+ | |||
+ | Run project asynchronously without parameters: | ||
+ | Morph.Cmd.exe /runasync myproject.morph | ||
Generate documentation from the command line (the project is not run, only documentation is generated): | Generate documentation from the command line (the project is not run, only documentation is generated): | ||
- | | + | |
+ | ==== Logs ==== | ||
- | Option /document can be combined | + | Errors that occurred during command-line execution are written into a project log file with the same name as the project |
- | **Logs** | + | Fatal (system errors) are written into the application log morph-cmd.log located in '' |
- | Errors occurred during command-line execution are written into log file with the same name as the project | + | The project log directory |
- | Fatal (system errors) are written into EasyMorph.log located in C: | + | Morph.Cmd.exe myproject.morph / |
- | + | ||
- | A log directory can be specified using option ''/ | + | In this case, all project logs will be written into the specified directory. |
- | + | ||
- | morph.exe /c myproject.morph / | + |
command_line.txt · Last modified: 2022/10/05 17:48 by dmitry