Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/samhuk/node-cli-template

Node.js CLI App Template
https://github.com/samhuk/node-cli-template

cli commander nodejs template typescript

Last synced: 15 days ago
JSON representation

Node.js CLI App Template

Awesome Lists containing this project

README

        

# node-cli-template

This is a template repository for a Node.js CLI application.

* Typescript
* ESLint
* esbuild
* GoodFlow (for error handling)

## Usage

1. Click the "**Use Template**" button on Github to create your own repository from this template
2. Locally clone your new remote Github repository
3. From the root directory of your new local clone, run `node setup.js`, entering in some details.
4. After it completes, you can remove `setup.js` and this section of the README.
5. Run `npm run build-dev && npm run hello-dev "Joe Bloggs"` to build the CLI and run the `hello` example command.
6. For information on how to develop on your new codebase, see [./contributing/development.md](./contributing/development.md)
7. Have fun!

This template is approximately based off of the architecture of [hey](https://github.com/samhuk/hey) and the CLI of [Exhibitor](https://github.com/samhuk/exhibitor).

If you found this delightful, feel free to [sponsor me on GitHub](https://github.com/sponsors/samhuk) 💕 or [buy me a coffee](https://www.buymeacoffee.com/samhuk) ☕

---

{{app-name}}



{{app-slogan}}

> Badges like license type and current build status can go here. Uncomment the HTML below within this README to show them.

## Overview

> Provide a quick overview of what your app does.

> If it is a large app, you can put a "Getting Started" wiki page link here.

## Usage

> Provide instructions on how to use your app.

## Development

See [./contributing/development.md](./contributing/development.md)

---

> If desired, briefly mention any donation links here. Here's Buy Me a Coffee as an example:

If you found this package delightful, feel free to [buy me a coffee](https://www.buymeacoffee.com/{{buy-me-a-coffee-user-name}}) ✨