0.0.5 • Published 5 years ago
@mbunifu/generator v0.0.5
@mbunifu/generator
@mbunifu/generator
is a tool for scaffolding new projects.
Usage
From the command line
npx @mbunifu/generator --name my-generator
Programmatically
const GeneratorGenerator = require('@mbunifu/generator');
(new GeneratorGenerator({ name: 'my-generator' })).run({
dryRun: true,
debug: true,
name: 'my-<% name %>'
});
Accepted Arguments
--dryRun
Returns the paths of which files would be written without actually writing anything to the file system. Useful for testing output.--name
Name of the project you want to create.--debug
Output debugging information during generation.