alipiry / create-ts-cli

Set up your TypeScript CLI app with one command using nodeJS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

create-ts-cli

Create your nodeJS CLI apps and program them in TypeScript with no configuration troubles.

Demo

asciicast

Requirements

To use this package, make sure you have yarn installed on your machine:

macOS:

  > brew install yarn

Linux:

  > curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
  echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
  > sudo apt-get update && sudo apt-get install yarn

Installation

Install package:

  > yarn global add @alipiry/create-ts-cli

Usage

Run following commands to create your ts-cli app:

  > create-ts-cli init my-cli-app
  > cd my-cli-app
  > yarn
  > yarn dev

Development

Clone the project:

  > git clone git@github.com:alipiry/create-ts-cli.git

Install dependencies and dev dependencies:

  > cd create-ts-cli/
  > yarn

Running

  > yarn dev init example

Production

  > yarn build

Author

Ali Piry

LICENSE

MIT

Support

If you enjoy using this tool, please consider buying me a coffee. 😁

Buy Me A Coffee

About

Set up your TypeScript CLI app with one command using nodeJS

License:MIT License


Languages

Language:TypeScript 70.0%Language:JavaScript 30.0%