Create Your Own Yeoman-Style Scaffolding Tool with Caporal.js

0
5
views

Starting a new project (especially as a JavaScript developer) can often be a repetitive and tedious process. For each new project, we normally need to add a package.json file, pull in some standard dependencies, configure them, create the correct directory structure, add various other files … The list goes on. But we’re lazy developers, right? And luckily we can automate this. It doesn’t require any special tools or strange languages — if you already know JavaScript, the process is actually quite simple. In this tutorial, we are going to use Node.js to build a cross-platform command-line interface (CLI). This will…
Create Your Own Yeoman-Style Scaffolding Tool with Caporal.js