实现一个基于 nodejs 的 cli 工具

Overview

teach-koa-setup

实现一个基于 nodejs 的 cli 工具,动态创建基于 koa 的代码模板

使用

  1. 本地使用
npm link

调用 teach-koa-setup 即可

技术

  • nodejs
  • chalk
  • ejs
  • execa
  • inquirer
  • aaa

学习

可以去 b站 观看完整的实现过程

You might also like...

NodeJS built CLI, allows to spell check in 14 languages, get Coleman-Liau Index and build hash Pyramids

NodeJS built CLI, allows to spell check in 14 languages, get Coleman-Liau Index and build hash Pyramids

Magic CLI 🎩 🐇 NodeJS built CLI, allows to spell check in 14 languages, get Coleman-Liau Index and build hash Pyramids Installing Install dependencie

Sep 27, 2022

GeoIP-NodeJS - Basic GeoIP coded on NodeJS for educational purposes.

GeoIP-NodeJS - Basic GeoIP coded on NodeJS for educational purposes.

IP-Tracker NodeJS Basic GeoIP coded on NodeJS for educational purposes. Tool coded on nodejs that grabs info about an IP Address. Install and Usage np

Jan 1, 2022

Json2video-nodejs-sdk - Create videos programmatically in the cloud from NodeJS: add watermarks, resize videos, create slideshows, add soundtrack, voice-over with text-to-speech (TTS), text animations.

Create videos programmatically in Node JS Create and edit videos: add watermarks, resize videos, create slideshows, add soundtrack, automate the creat

Nov 20, 2022

This repository is moving to: https://github.com/npm/cli

We've moved! Hi! This repository is no longer being used and has been archived for historical purposes. 🛠 CLI Source Code & Pull Requests now live at

Jan 9, 2023

:zap: RAN! React . GraphQL . Next.js Toolkit :zap: - SEO-Ready, Production-Ready, SSR, Hot-Reload, CSS-in-JS, Caching, CLI commands and more...

:zap: RAN! React . GraphQL . Next.js Toolkit :zap: - SEO-Ready, Production-Ready, SSR, Hot-Reload, CSS-in-JS, Caching, CLI commands and more...

RAN : React . GraphQL . Next.js Toolkit New version is coming... Follow up here: https://github.com/Sly777/ran/issues/677 Features Hot-Reload Ready fo

Jan 3, 2023

We.js, extensible Node.js MVC framework - CLI

We.js ;) We.js is a extensible node.js MVC framework For information and documentation see: http://wejs.org This repository (wejs/we) have the We.js C

Nov 10, 2022

We.js, extensible Node.js MVC framework - CLI

We.js ;) We.js is a extensible node.js MVC framework For information and documentation see: http://wejs.org This repository (wejs/we) have the We.js C

Nov 10, 2022

💻 Simple and flexible CLI Tool for your daily JIRA activity (supported on all OSes)

💻 Simple and flexible CLI Tool for your daily JIRA activity (supported on all OSes)

jirax ⭐ If you are using this tool or you like it, Star on GitHub — it helps! A CLI tool for JIRA for day to day usage with JIRA.Speed up your JIRA ac

Oct 4, 2022

Geokit - is a command-line interface (CLI) tool written in javascript, that contains all the basic functionalities for measurements, conversions and operations of geojson files.

Geokit Geokit is a command-line interface (CLI) tool written in javascript, that contains all the basic functionalities for measurements, conversions

Nov 17, 2022

thetool is a CLI tool to capture different cpu, memory and other profiles for your node app in Chrome DevTools friendly format

thetool is a CLI tool to capture different cpu, memory and other profiles for your node app in Chrome DevTools friendly format

thetool thetool is a CLI tool to capture different cpu, memory and other profiles for your node app in Chrome DevTools friendly format. Quick start np

Oct 28, 2022

Infinite Red's cutting edge React Native project boilerplate, along with a CLI, component/model generators, and more!

Infinite Red's cutting edge React Native project boilerplate, along with a CLI, component/model generators, and more!

Ignite - the hottest React Native boilerplate Battle-tested React Native boilerplate The culmination of five years of constant React Native developmen

Dec 29, 2022

CLI tool for running Yeoman generators

CLI tool for running Yeoman generators

yo What's Yeoman? Yeoman helps you to kickstart new projects, prescribing best practices and tools to help you stay productive. To do so, we provide a

Dec 30, 2022

Test your internet connection speed and ping using speedtest.net from the CLI

Test your internet connection speed and ping using speedtest.net from the CLI

speed-test Test your internet connection speed and ping using speedtest.net from the CLI Install Ensure you have Node.js version 8+ installed. Then ru

Jan 7, 2023

Distributed, realtime CLI for live Node apps.

Distributed, realtime CLI for live Node apps.

Vantage = CLI + SSH + REPL for your live node app. In one line: require("vantage")().listen(4000); What just happened? That's voodoo magic: show me th

Dec 30, 2022

download torrents with node from the CLI

download torrents with node from the CLI

torrent Download torrents from the command line usage torrent magnet link OR path to .torrent file Download a torrent from a magnet link to torre

Dec 26, 2022

:white_square_button: WhatsApp chat from commandline/console/cli using GoogleChrome puppeteer

:white_square_button: WhatsApp chat from commandline/console/cli using GoogleChrome puppeteer

Whatspup Use Whatsapp from commandline/console/cli using GoogleChrome puppeteer! 😄 Features ✅ Send and receive messages ✅ Read Receipts ✅ Switch betw

Dec 1, 2022

:notes: Control iTunes via CLI

:notes: Control iTunes via CLI

itunes-remote Control iTunes via your terminal 🎶 Using JXA via osascript via Node.js. Requirements Node.js (v0.12.7 or greater) Mac OS X (Yosemite 10

Nov 19, 2022

Add stdin support to any CLI app that accepts file input

tmpin Add stdin support to any CLI app that accepts file input It pipes stdin to a temp file and spawns the chosen app with the temp file path as the

Oct 3, 2022

A CLI for peer-to-peer file sharing using the Hypercore Protocol.

A CLI for peer-to-peer file sharing using the Hypercore Protocol.

A CLI for peer-to-peer file sharing (and more) using the Hypercore Protocol.

Dec 30, 2022
Owner
阿崔cxr
积极主动 - 以终为始 - 要事第一
阿崔cxr
ZippyDamn-lib! is a ZippyShare Unofficial library (downloader & search) for nodejs

ZippyDamn-lib! ZippyDamn-lib! is a ZippyShare Unofficial library (downloader & search) for nodejs Looking for a CLI? Try Zippydamn! CLI Installation U

Virdio Samuel 4 Oct 2, 2021
The proxied-worker tech for NodeJS

proxied-node This is exactly the same proxied-worker module, specific for a NodeJS proxied namespace. The only difference is that the client side is a

Andrea Giammarchi 17 Jul 20, 2022
NodeJS app to dynamically update your twitter header with AP Dhillon's lyrics

header-dhillon A NodeJS app that dynamically updates your twitter header with 2 lines of random lyrics from any random track by the punjabi artist AP

Raj Shankar Tiwary 4 Jul 25, 2022
A CLI tool to create a NodeJS project with TypeScript CTSP is a CLI tool to make easier to start a new NodeJS project and configure Typescript on it.

CTSP- Create TS Project A CLI tool to create a NodeJS project with TypeScript CTSP is a CLI tool to make easier to start a new NodeJS project and conf

Jean Rodríguez 7 Sep 13, 2022
CLI Progress Bar implemented in NodeJS to track Time, ETA and Steps for any long running jobs in any loops in JS, NodeJS code

NodeJS-ProgressBar CLI Progress Bar for NodeJS and JavaScript to track Time, ETA and Steps for any long running jobs in any loops in JS, NodeJS code D

Atanu Sarkar 5 Nov 14, 2022
Pretty diff to html javascript cli (diff2html-cli)

diff2html-cli Diff to Html generates pretty HTML diffs from unified and git diff output in your terminal Table of Contents Features Online Example Dis

Rodrigo Fernandes 404 Dec 19, 2022
Node-cli-starter - Basic starter kit for building Node CLI applications with TypeScript.

node-cli-starter Minimal starter kit for building Node CLI applications with TypeScript. Getting Started To get started clone repo locally and run npm

Cory Rylan 7 May 17, 2022
LinkFree CLI is a command line tool that helps you to create your LinkFree profile through CLI.

LinkFree CLI LinkFree CLI is a command line tool that helps you to create your LinkFree profile through CLI. Demo Using the CLI (Commands) Note First

Pradumna Saraf 32 Dec 26, 2022
Tasks Management CLI application with Nodejs, Mongodb, inquirer.js, and commander

Tasks CLI Tasks CLI is a program to manage your tasks in a database using terminal or console. This is a sample project for beginners Requirements Nod

Fazt Web 9 Nov 17, 2022