Install
You can install thenumscript cli with one of the following ways:
Using curl
For Mac and Unix:Using golang toolchain
Check
You can use thenumscript check command to run static analysis on a numscript program. The static analysis includes parsing errors, wrong variables or types usage, as well as more advanced checks on numscript constructs.
You can use it this way:
Run
Available from [email protected]
my-script.num
.inputs.json suffix):
my-script.num.inputs.json
Test
Available from [email protected]
numscript test to check that the specs given in a numscript specs format file are valid for a given numscript.
For example:
src/domain/numscript folder to find all the <file>.num that have a corresponding <file>.num.specs.json specs file