@wocker/core 1.0.20-dev.1 → 1.0.20-dev.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/core/Scanner.js +2 -1
- package/package.json +2 -2
package/lib/core/Scanner.js
CHANGED
|
@@ -122,6 +122,7 @@ class Scanner {
|
|
|
122
122
|
});
|
|
123
123
|
command.action((input) => {
|
|
124
124
|
const args = [];
|
|
125
|
+
const params = Object.values(input.arguments());
|
|
125
126
|
argsMeta.forEach((argMeta) => {
|
|
126
127
|
switch (argMeta.type) {
|
|
127
128
|
case "param":
|
|
@@ -137,7 +138,7 @@ class Scanner {
|
|
|
137
138
|
break;
|
|
138
139
|
}
|
|
139
140
|
});
|
|
140
|
-
return wrapper.instance[name](...args);
|
|
141
|
+
return wrapper.instance[name](...args, ...params);
|
|
141
142
|
});
|
|
142
143
|
}
|
|
143
144
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wocker/core",
|
|
3
|
-
"version": "1.0.20-dev.
|
|
3
|
+
"version": "1.0.20-dev.3",
|
|
4
4
|
"author": "Kris Papercut <krispcut@gmail.com>",
|
|
5
5
|
"description": "Core of the Wocker",
|
|
6
6
|
"license": "MIT",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"test-watch": "jest --colors --watchAll --coverage"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@kearisp/cli": "^2.0.7-dev.
|
|
28
|
+
"@kearisp/cli": "^2.0.7-dev.1",
|
|
29
29
|
"fs": "^0.0.1-security",
|
|
30
30
|
"path": "^0.12.7",
|
|
31
31
|
"reflect-metadata": "^0.2.2"
|