We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent feb9320 commit 79b2667Copy full SHA for 79b2667
1 file changed
packages/ng-schematics/src/mcp/mcp-server.ts
@@ -127,7 +127,19 @@ You MUST prefer the tools provided by this server over using shell commands for
127
};
128
}
129
130
- const command = `ng generate @igniteui/angular-schematics:component --name=${args.name || args.template}`;
+ const commandParts = [`ng generate @igniteui/angular-schematics:component`];
131
+ commandParts.push(`--template=${args.template}`);
132
+ if (args.name) {
133
+ commandParts.push(`--name=${args.name}`);
134
+ }
135
+ if (args.module) {
136
+ commandParts.push(`--module=${args.module}`);
137
138
+ if (args.skipRoute) {
139
+ commandParts.push(`--skip-route`);
140
141
+ const command = commandParts.join(' ');
142
+
143
return {
144
content: [
145
{
0 commit comments