Skip to content
Make boilerplate bearable
TypeScript JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
__templates__
dist
docs
example
src
.gitignore
.npmignore
.prettierrc
CODE_OF_CONDUCT.md
CONTRIBUTING.md
ISSUE_TEMPLATE.md
LICENSE.md
README.md
gnerate.config.js
package.json
tsconfig.json
yarn.lock

README.md

gnerate

CircleCI

Getting Started

Gnerate is a cli generation tool to help reduce boilerplate. This is achieved by creating templates, and then referencing those templates whenever we want to create a new file.

Installing Gnerate

NPM: npm install gnerate --save

Yarn: yarn add gnerate

Commands

  • gnerate --init => Generates a config file in the current working directory

  • gnerate --help => Show 'how-to-use' documentation

  • gnerate --version => Show the currently installed version

  • gnerate [template] [path/name] --config=[path/to/config.js] => Generates a template to a path/name location. The config argument is optional. If no config is given, generate will look for a directory named __templates__ in the root of the project.

example: gnerate container ./MainPage.js


You can’t perform that action at this time.