Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Improve CLI

dominik-zeglene56e280ba7c2
diff --git a/.plop/plopfile.js b/.plop/plopfile.js
index 2d5a078553..d4dfcd2cac 100644
--- a/.plop/plopfile.js
+++ b/.plop/plopfile.js
@@ -6,12 +6,12 @@ const componentGeneratorConfig = {
{
type: "input",
name: "name",
- message: "Name"
+ message: "Component name?"
},
{
type: "input",
name: "section",
- message: "Section"
+ message: "Component path?"
},
{
type: "confirm",
@@ -63,6 +63,8 @@ const componentGeneratorConfig = {
}
};
+const
+
module.exports = plop => {
plop.setGenerator('component', componentGeneratorConfig);
};