clony-pasta

2.0.1 • Public • Published

clony-pasta

npm-version dependencies dev-dependencies

Foolishly simple scaffolding tool using the ez template language.

Installation

npm install clony-pasta -g

Usage

clony-pasta [git repository] [destination folder]

Example Usage

Set up a git repository with a scaffold. For example, your package.json might look something like this:

{
  "name": "{% scoped? %}@{% scope %}/{% end %}{% name %}",
  "version": "0.0.0",
  "description": "{% description %}",
  "author": "{% author %}",
  "license": "MIT",
  ...
}

Conditional files and directories are also supported. For example, if you only sometimes want to generate tests, you could name your test directory {% makeTests? %}tests{% end %} and it will only include the directory (and sub-directories) if you respond "yes" to the makeTests? prompt.

Then, when you want to generate a new project based on the scaffold, invoke the command:

clony-pasta git@github.com:scott113341/scaffold-npm-module.git my-new-project

Readme

Keywords

Package Sidebar

Install

npm i clony-pasta

Weekly Downloads

22

Version

2.0.1

License

MIT

Last publish

Collaborators

  • scott113341