firestore-crud-cli
v1.0.0
Published
A template for creating npm CLI tools using TypeScript and VSCode
Downloads
3
Maintainers
Readme
typescript-npm-cli-template
Boilerplate to kickstart creating a Node.js command-line tool
Inspired by node-cli-boilerplate
Getting started
Set up your repository
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=1Replace FULL_NAME, GITHUB_USER, and REPO_NAME in the script below with your own details to personalize your new package:
FULL_NAME="Yağız Ceritoğlu"
GITHUB_USER="yagiz2000"
REPO_NAME="firestore-crud-cli"
sed -i.mybak "s/\([\/\"]\)(ryansonshine)/$GITHUB_USER/g; s/typescript-npm-cli-template\|firestore-crud-cli/$REPO_NAME/g; s/Yağız Ceritoğlu/$FULL_NAME/g" package.json package-lock.json README.md
rm *.mybakAdd NPM Token
Add your npm token to your GitHub repository secrets as NPM_TOKEN.
Add Codecov integration
Enable the Codecov GitHub App here.
Remove everything from here and above
firestore-crud-cli
My awesome command-line tool
Install
npm install firestore-crud-cliUsage
Usage: my-command [options]
Options:
-V, --version output the version number
-d, --debug enables verbose logging (default: false)
Examples:
$ my-command --version
1.0.0