Skip to content

sdustin/typescript-cli

Repository files navigation

typescript-cli

A sample typescript console project with command line arguments

Pre-requisites

You need node and npm on your machine. It is known to run with the following versions.

$ node --version
v20.5.1
$ npm --version
9.8.0

Run

First, install the node modules and build.

$ npm install
$ npm run build

Then you can call the program from command line, arguments are optional.

$ npm run start
$ npm run start -- from command line

You can also debug with breakpoints using Visual Studio Code

About

A sample typescript console project with command line arguments

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published