mirror of
https://github.com/strapi/strapi.git
synced 2025-09-15 19:39:06 +00:00

* add generators to cli * add strapi generate comment * remove old generators * rename generator-cli -> generate * list generators alphabetically * update package description * add check for strapi app in cwd
11 lines
213 B
JavaScript
11 lines
213 B
JavaScript
'use strict';
|
|
|
|
process.argv.splice(2, 1);
|
|
|
|
const { join } = require('path');
|
|
const { Plop, run } = require('plop');
|
|
|
|
module.exports = () => {
|
|
Plop.launch({ configPath: join(__dirname, 'plopfile.js') }, run);
|
|
};
|