Let’s create a Node CLI for generating files from templates!

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • Appwrite - The open-source backend cloud platform
  • Onboard AI - Learn any GitHub repo in 59 seconds
  • Revelo Payroll - Free Global Payroll designed for tech teams
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • Sonar - Write Clean JavaScript Code. Always.
  • create-files-from-template-cli

    A simple but powerful CLI to generate a list of files.

    Note: This is not the whole app. I am explaining only some interesting parts of it. Check GitHub to see the code.

  • chalk

    🖍 Terminal string styling done right

    To colorize my logs, I used a chalk package and created a logger utility:

  • Appwrite

    Appwrite - The open-source backend cloud platform. The open-source backend cloud platform for developing Web, Mobile, and Flutter applications. You can set up your backend faster with real-time APIs for authentication, databases, file storage, cloud functions, and much more!

  • jest

    Delightful JavaScript Testing.

    jest and ts-jest – for testing,

  • cli-table

    Pretty unicode tables for the CLI with Node.JS

    Another very useful and user-friendly command for CLI is the --help command. This command should help our users to use our CLI. This is the perfect place for tables. I installed the cli-table package.

  • esbuild

    An extremely fast bundler for the web

    esbuild – is an easy-to-configure bundler,

  • Inquirer.js

    A collection of common interactive command line user interfaces.

    We can easily achieve that with the inquirer package. This package allows you to ask different types of questions, such as input questions (open-text questions), confirmation questions (Yes/No), etc.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts