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
- Host: GitHub
- URL: https://github.com/jottenlips/typescript-cli-template
- Owner: jottenlips
- License: mit
- Created: 2019-09-07T02:22:25.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T09:16:35.000Z (over 3 years ago)
- Last Synced: 2026-02-06T03:42:15.474Z (5 months ago)
- Topics: airbnb, automation, cats, cli, clitemplate, command, command-line-tool, getting-started, gts, jest, line, prettier, template, template-project, test, tests, tool, typescript, workflow, yargs
- Language: JavaScript
- Homepage:
- Size: 707 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
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!
```