clony-pasta
Foolishly simple scaffolding tool using the ez template language.
Last updated 2 years ago by scott113341 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install clony-pasta -g
SYNC missed versions from official npm registry.

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

Current Tags

  • 2.0.1                                ...           latest (2 years ago)
  • 2.0.0-1                                ...           next (2 years ago)

23 Versions

  • 2.0.1                                ...           2 years ago
  • 2.0.0                                ...           2 years ago
  • 2.0.0-1                                ...           2 years ago
  • 2.0.0-0                                ...           2 years ago
  • 1.0.0                                ...           3 years ago
  • 0.5.0                                ...           3 years ago
  • 0.4.0                                ...           3 years ago
  • 0.3.3                                ...           3 years ago
  • 0.3.2                                ...           3 years ago
  • 0.3.1                                ...           3 years ago
  • 0.3.0                                ...           3 years ago
  • 0.2.3                                ...           3 years ago
  • 0.2.2                                ...           3 years ago
  • 0.2.1                                ...           3 years ago
  • 0.2.0                                ...           3 years ago
  • 0.1.5                                ...           3 years ago
  • 0.1.4                                ...           3 years ago
  • 0.1.3                                ...           3 years ago
  • 0.1.2                                ...           3 years ago
  • 0.1.1                                ...           3 years ago
  • 0.1.0                                ...           3 years ago
  • 0.0.1                                ...           3 years ago
  • 0.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (6)
Dev Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |