Skip to content

A template project for building CLIs in Node with TypeScript

License

Notifications You must be signed in to change notification settings

ebetancourt/node-cli-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node CLI Template

This is a simple starter project for creating a CLI with Node. Includes, out of the box:

  • Full TypeScript Support
  • Uses Commander.js to parse the sub-commands and options
  • LocalStorage API support to persist data between runs (stored in the cache directory)
  • Loading environment variables from .env courtesy of dotenv
  • has built-in SQLite set up so you can save application data
  • Built-in ORM for SQLite via Sequelize
  • Supports migrations via Sequelize CLI (and generation of Models, Seeds, etc.)
  • interactively prompt the user with Inquirer.js
  • API calls over http(s) via Axios

Important

Requires Node 18 or higher.


TODO:

About

A template project for building CLIs in Node with TypeScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published