You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .cursor/rules/commands.mdc
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ globs: src/command/*.ts
4
4
alwaysApply: false
5
5
---
6
6
- 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
8
8
- 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