Wiki

Changes between Version 1 and Version 2 of CommandLine

Show
Ignore:
Timestamp:
08/08/09 13:16:55 (15 years ago)
Author:
Chuck
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CommandLine

    v1 v2  
    11== Command Line == 
    22 
     3Quick examples: 
     4{{{ 
     5  # compile and run immediately (if no errors) 
     6cobra myprog.cobra 
     7 
     8  # get help 
     9cobra -h 
     10 
     11  # compile only 
     12cobra -c myprog.cobra 
     13 
     14  # with debug 
     15cobra -d -c myprog.cobra 
     16 
     17  # multiple source files 
     18cobra -c foo.cobra bar.cobra 
     19 
     20  # passing arguments 
     21cobra foo.cobra bar.cobra -- arg1 arg2 
     22 
     23  # disable all checks, contracts, asserts, etc. 
     24  # maximum performance 
     25cobra -turbo foo.cobra 
     26}}} 
     27 
     28Getting help: 
    329{{{ 
    430cobra -h