1.0.0 • Published 3 years ago

@sanseriflabs/test-create-project-cli v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Basic CLI

This project is a basic CLI for creating a new project in JS or TS. To test it out, run create-project from the root of the project directory once linked locally using npm link (also from dir root). You should be first prompted to choose between JavaScript and TypeScript as shown below.

? Please choose which project template to use (Use arrow keys)
❯ JavaScript 
  TypeScript

Then, you are asked if you would like to create a git repository.

? Please choose which project template to use JavaScript
? Initialize a git repository? (y/N) 

By selecting the y key, you will get the following output:

? Please choose which project template to use JavaScript
? Initialize a git repository? Yes
{
  skipPrompts: false,
  git: true,
  template: 'JavaScript',
  runInstall: false
}

The tutorial that I followed can be found here.