Skip to content

The Scaffold Command (v0.12 and later)

Dave Jeffery edited this page Dec 12, 2017 · 3 revisions

There are three different path/url types that you can use to scaffold a new website. They are:

pingy scaffold <alias>

Example: pingy scaffold bootstrap
Example: pingy scaffold bootstrap@1

An alias is the name of the npm package to scaffold from with the prefix pingy-scaffold- removed. For example if you wish to scaffold the package pingy-scaffold-bootstrap then use the command pingy scaffold bootstrap rather than pingy scaffold pingy-scaffold-bootstrap.

pingy scaffold <absolute local path>

Example: pingy scaffold /Users/dave/code/pingy-scaffolds/bootstrap-jumbotron

An absolute path on the local filesystem. This will bypass the install step in the source scaffold directory, so run that beforehand if needed.

pingy scaffold <anything else>

Anything else will get passed to npm. Possible options are:

pingy scaffold <@scope>/<name>
pingy scaffold <@scope>/<name>@<tag>
pingy scaffold <@scope>/<name>@<version>
pingy scaffold <@scope>/<name>@<version range>
pingy scaffold <git-host>:<git-user>/<repo-name>
pingy scaffold <git repo url>
pingy scaffold <tarball file>
pingy scaffold <tarball url>

See the npm install docs for further info.