@ngxtm/devkit 3.10.0 → 3.10.1

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/cli/init.js +8 -1
  2. package/package.json +1 -1
package/cli/init.js CHANGED
@@ -362,12 +362,19 @@ if (require.main === module) {
362
362
  const toolsArg = args.find(a => a.startsWith('--tools='));
363
363
  const tools = toolsArg ? toolsArg.split('=')[1].split(',') : [];
364
364
 
365
+ // Parse --path=value format
366
+ const pathArg = args.find(a => a.startsWith('--path='));
367
+ const pathValue = pathArg ? pathArg.split('=')[1] : null;
368
+
369
+ // Fallback to positional argument (first non-flag argument)
370
+ const positionalPath = args.find(a => !a.startsWith('-') && !a.includes('='));
371
+
365
372
  const options = {
366
373
  force: args.includes('--force') || args.includes('-f'),
367
374
  update: args.includes('--update') || args.includes('-u'),
368
375
  all: args.includes('--all') || args.includes('-a'),
369
376
  tools: tools,
370
- path: args.find(a => !a.startsWith('-') && !a.includes('=')) || process.cwd()
377
+ path: pathValue || positionalPath || process.cwd()
371
378
  };
372
379
 
373
380
  if (args.includes('--uninstall')) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ngxtm/devkit",
3
- "version": "3.10.0",
3
+ "version": "3.10.1",
4
4
  "description": "Per-project AI skills with smart tech detection - lightweight and context-optimized",
5
5
  "main": "cli/index.js",
6
6
  "bin": {