typescript-npm-cli-template

A template for creating npm CLI tools using TypeScript and VSCode

Usage no npm install needed!

<script type="module">
  import typescriptNpmCliTemplate from 'https://cdn.skypack.dev/typescript-npm-cli-template';
</script>

README

typescript-npm-cli-template

Boilerplate to kickstart creating a Node.js command-line tool

Inspired by node-cli-boilerplate

Getting started

Click the "Use this template" button.

Alternatively, create a new directory and then run:

curl -fsSL https://github.com/ryansonshine/typescript-npm-cli-template/archive/main.tar.gz | tar -xz --strip-components=1

Remove everything from here and above


my-cli-name

npm package Build Status Downloads Issues Code Coverage Commitizen Friendly Semantic Release

My awesome command-line tool

Install

npm install my-cli-name

Usage

Usage: my-command [options]

Options:
  -V, --version            output the version number
  -d, --debug              enables verbose logging (default: false)
  -v, --verbose            enables verbose logging (default: false)

Examples:

  $ my-command --version
  1.0.0