Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

CLI applications written in typescript can be executed (since v0.5.0) with:

node -r ts-node/register ts-cli

Note Some ts-node and tsconfig options can be used to improve transpilation/execution time (check this example)

Example executions:

# No namespace/command: invoke index script
node -r ts-node/register ts-cli

# Execute "cmd" command
node -r ts-node/register ts-cli nms cmd