Skip to content

Commit 914f06d

Browse files
committed
fix: mdc paths
1 parent b1a1beb commit 914f06d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.cursor/rules/commands.mdc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ globs: src/command/*.ts
44
alwaysApply: false
55
---
66
- Commands are located in `src/command` directory
7-
- Commands must extend the [Command.ts](mdc:magento-toolbox/src/command/Command.ts) abstract class or any other class that inherits it
7+
- Commands must extend the [Command.ts](mdc:src/command/Command.ts) abstract class or any other class that inherits it
88
- Command name must be defined in format: `magentoToolbox.commandName`
9-
- New commands must be added to [index.ts](mdc:magento-toolbox/src/command/index.ts) file so that they are loaded. Commands also need to be added to [package.json](mdc:magento-toolbox/package.json) under contributes -> commands
10-
- Commands that only generate files based on a pre-defined template can extend the [SimpleTemplateGeneratorCommand.ts](mdc:magento-toolbox/src/command/SimpleTemplateGeneratorCommand.ts) class
9+
- New commands must be added to [index.ts](mdc:src/command/index.ts) file so that they are loaded. Commands also need to be added to [package.json](mdc:package.json) under contributes -> commands
10+
- Commands that only generate files based on a pre-defined template can extend the [SimpleTemplateGeneratorCommand.ts](mdc:src/command/SimpleTemplateGeneratorCommand.ts) class

0 commit comments

Comments
 (0)