版博士V2.0程序
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 
 
CPL 9104556504 v2.0.7 报表数据修改 1 рік тому
..
.idea v2.0.7 报表数据修改 1 рік тому
node_modules v2.0.7 报表数据修改 1 рік тому
src v2.0.7 报表数据修改 1 рік тому
types v2.0.7 报表数据修改 1 рік тому
CHANGELOG.md v2.0.7 报表数据修改 1 рік тому
README.md v2.0.7 报表数据修改 1 рік тому
package.json v2.0.7 报表数据修改 1 рік тому
tsconfig.json v2.0.7 报表数据修改 1 рік тому
vite.config.ts v2.0.7 报表数据修改 1 рік тому

README.md

Node-Plop

npm GitHub actions

This is an early publication of the plop core logic being removed from the CLI tool. Main purpose for this is to make it easier for others to automate code generation through processes and tools OTHER than the command line. This also makes it easier to test the code functionality of PLOP without needing to test via the CLI interface.

This is the backend code that drives the plop CLI tool using node-plop.

import nodePlop from 'node-plop';
// load an instance of plop from a plopfile
const plop = await nodePlop(`./path/to/plopfile.js`);
// get a generator by name
const basicAdd = plop.getGenerator('basic-add');

// run all the generator actions using the data specified
basicAdd.runActions({name: 'this is a test'}).then(function (results) {
  // do something after the actions have run
});