User Tools

Site Tools


command_line

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
command_line [2018/06/25 23:50] dmitrycommand_line [2019/11/23 16:20] – Fix error in /projectLogPath example andrew
Line 2: Line 2:
  
    
-It is possible to execute EasyMorph projects (.morph files) from the command line. This can be used for scheduling EasyMorph projects using Windows Task Scheduler or other 3rd party tools. The command line mode is activated using the **/c** key.+It is possible to execute EasyMorph projects (.morph files) from the command line. This can be used for scheduling EasyMorph projects using Windows Task Scheduler or other 3rd party tools. Project execution in the command line mode is activated by using the **/c** key.
      
 **Examples** **Examples**
Line 18: Line 18:
   morph.exe /c /report myproject.morph /param:Year=2015 /param:"File name"="C:\My Documents\input.csv"   morph.exe /c /report myproject.morph /param:Year=2015 /param:"File name"="C:\My Documents\input.csv"
      
-Generate documentation (the project is not run, only documentation is generated): 
-  morph.exe /document myproject.morph 
- 
 Override default location of the license key (from the configuration file): Override default location of the license key (from the configuration file):
   morph.exe /c myproject.morph /key:"C:\EasyMorph.key"   morph.exe /c myproject.morph /key:"C:\EasyMorph.key"
  
 +
 +**Documentation**
 +
 +Generate documentation from the command line (the project is not run, only documentation is generated):
 +  morph.exe /document myproject.morph
 +
 +
 +Option /document can be combined with /c for project execution.
  
 **Logs** **Logs**
Line 30: Line 35:
  
 Fatal (system errors) are written into EasyMorph.log located in C:\Users\<username>\AppData\Local\EasyMorph. Fatal (system errors) are written into EasyMorph.log located in C:\Users\<username>\AppData\Local\EasyMorph.
 +
 +A log directory can be specified using option ''/projectLogPath'', for instance:
 +
 +  morph.exe /c myproject.morph /projectLogPath:"C:\logs\easymorph"
command_line.txt · Last modified: 2022/10/05 17:48 by dmitry

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki