create-mcp-use-app 2.1.1 → 2.1.2-canary.0
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/dist/index.js +7 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1422,17 +1422,19 @@ function parseCli(argv) {
|
|
|
1422
1422
|
version: { type: "boolean", short: "V" }
|
|
1423
1423
|
},
|
|
1424
1424
|
allowPositionals: true,
|
|
1425
|
-
|
|
1425
|
+
allowNegative: true,
|
|
1426
|
+
strict: true
|
|
1426
1427
|
});
|
|
1427
|
-
|
|
1428
|
-
|
|
1428
|
+
if (positionals.length > 1) {
|
|
1429
|
+
throw new Error(`Unexpected extra argument: ${positionals[1]}`);
|
|
1430
|
+
}
|
|
1429
1431
|
return {
|
|
1430
1432
|
projectName: positionals[0],
|
|
1431
1433
|
options: {
|
|
1432
1434
|
template: values.template,
|
|
1433
1435
|
listTemplates: values["list-templates"],
|
|
1434
|
-
install,
|
|
1435
|
-
skills,
|
|
1436
|
+
install: values.install,
|
|
1437
|
+
skills: values.skills,
|
|
1436
1438
|
dev: values.dev,
|
|
1437
1439
|
sdkVersion: values["sdk-version"],
|
|
1438
1440
|
npm: values.npm,
|