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.
Files changed (2) hide show
  1. package/dist/index.js +7 -5
  2. 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
- strict: false
1425
+ allowNegative: true,
1426
+ strict: true
1426
1427
  });
1427
- const install = argv.includes("--install") ? true : argv.includes("--no-install") ? false : values.install;
1428
- const skills = argv.includes("--skills") ? true : argv.includes("--no-skills") ? false : values.skills;
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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-mcp-use-app",
3
- "version": "2.1.1",
3
+ "version": "2.1.2-canary.0",
4
4
  "type": "module",
5
5
  "description": "Create MCP-Use apps with one command",
6
6
  "author": "mcp-use, Inc.",