An open API service indexing awesome lists of open source software.

https://github.com/jottenlips/typescript-cli-template

↳ Simple Command Line Tool template with Typescript, Yargs, Jest, and Prettier
https://github.com/jottenlips/typescript-cli-template

airbnb automation cats cli clitemplate command command-line-tool getting-started gts jest line prettier template template-project test tests tool typescript workflow yargs

Last synced: 2 months ago
JSON representation

↳ Simple Command Line Tool template with Typescript, Yargs, Jest, and Prettier

Awesome Lists containing this project

README

          

# Typescript Command Line Tool Template

### Run Locally

```console
$ yarn
$ yarn compile
$ yarn link
```

### Publish

```console
$ yarn publish
```

### Install

```console
$ yarn global add your-package
```

### Testing & Linting
```console
$ yarn run test
```

```console
$ yarn run fix
```

### Use

```console
$ your-command help
Options:
--help Show help [boolean]
--version Show version number [boolean]
--hello [string] [default: "Hello, no commands yet"]
```

```console
$ your-command --hello Hi!
Hi!
```