0.0.5 • Published 7 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-generatorProgrammatically
const GeneratorGenerator = require('@mbunifu/generator');
(new GeneratorGenerator({ name: 'my-generator' })).run({
dryRun: true,
debug: true,
name: 'my-<% name %>'
});Accepted Arguments
--dryRunReturns the paths of which files would be written without actually writing anything to the file system. Useful for testing output.--nameName of the project you want to create.--debugOutput debugging information during generation.