Skip to content

Commit bbe90ae

Browse files
CopilotLipata
andcommitted
Add MCP server implementation for CLI and ng-schematics packages
Co-authored-by: Lipata <[email protected]>
1 parent 74c79cb commit bbe90ae

File tree

13 files changed

+999
-30
lines changed

13 files changed

+999
-30
lines changed

packages/cli/lib/cli.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import {
99
doc,
1010
generate,
1111
list,
12+
mcp,
1213
newCommand,
1314
start,
1415
test,
@@ -38,6 +39,7 @@ export async function run(args = null) {
3839
start.templateManager = templateManager;
3940
generate.templateManager = templateManager;
4041
list.templateManager = templateManager;
42+
mcp.templateManager = templateManager;
4143
upgrade.templateManager = templateManager;
4244

4345
const yargsModule = args ? yargs(args) : yargs;
@@ -53,6 +55,7 @@ export async function run(args = null) {
5355
.command(doc)
5456
.command(test)
5557
.command(list)
58+
.command(mcp)
5659
.command(upgrade)
5760
.version(false) // disable built-in `yargs.version` to override it with our custom option
5861
.options({

packages/cli/lib/commands/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ export { default as config } from "./config";
44
export { default as doc } from "./doc";
55
export { default as generate } from "./generate";
66
export { default as list } from "./list";
7+
export { default as mcp } from "./mcp";
78
export { default as newCommand } from "./new";
89
export { default as start } from "./start";
910
export { default as test } from "./test";

0 commit comments

Comments
 (0)