wetland-generator-skeleton

1.0.1 • Public • Published

wetland-generator-skeleton

A skeleton generator for Wetland's pluggable CLI.

What's included

This skeletong comes with boilerplate taken care of, and some extra, minimal examples.

Step

Steps are what Boards uses to process your templates.

This module comes with an example step (upper) which can be removed or replaced. The file is in src/upper.js and gets exported in index.js.

Generator

There's a very minimal generator in src/SkeletonGenerator.js. All it does, is show you what a generator looks like and how to use it.

Emoji

Just for fun, we've included emoji output for this module.

It's easy to take out. It's in package.json under dependencies, and gets imported in src/SkeletonGenerator.js.

Getting started

Simple, clone the repository, and name it something else. Edit the Generator and step (or add some) and publish it!

Running

This generator is runnable!

  1. In any project, run npm i -D wetland-generator-skeleton.
  2. Then, to run the generator run: wetland generator skeleton Bob.
  3. To have the UpPeRCaSiNg alternated, run: wetland generator skeleton Bob -a.
  4. To change the file extension, run: wetland generator skeleton Bob -x txt.

License

MIT

Package Sidebar

Install

npm i wetland-generator-skeleton

Weekly Downloads

1

Version

1.0.1

License

MIT

Last publish

Collaborators

  • rwoverdijk