File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ describe('init command', () => {
7878 expect ( readFileSync ( installed , 'utf8' ) ) . toBe ( '# CLI Skill Content' ) ;
7979
8080 const output = stdoutSpy . mock . calls . map ( ( c ) => String ( c [ 0 ] ) ) . join ( '' ) ;
81- expect ( output ) . toContain ( 'Installed xcodebuildmcp-cli skill' ) ;
81+ expect ( output ) . toContain ( 'Installed XcodeBuildMCP CLI skill' ) ;
8282 expect ( output ) . toContain ( 'Custom' ) ;
8383 expect ( output ) . toContain ( installed ) ;
8484
@@ -103,7 +103,7 @@ describe('init command', () => {
103103 expect ( readFileSync ( installed , 'utf8' ) ) . toBe ( '# MCP Skill Content' ) ;
104104
105105 const output = stdoutSpy . mock . calls . map ( ( c ) => String ( c [ 0 ] ) ) . join ( '' ) ;
106- expect ( output ) . toContain ( 'Installed xcodebuildmcp skill' ) ;
106+ expect ( output ) . toContain ( 'Installed XcodeBuildMCP (MCP server) skill' ) ;
107107
108108 stdoutSpy . mockRestore ( ) ;
109109 } ) ;
Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ function altSkillDirName(skillType: SkillType): string {
3131 return skillType === 'mcp' ? 'xcodebuildmcp-cli' : 'xcodebuildmcp' ;
3232}
3333
34- function skillLabel ( skillType : SkillType ) : string {
35- return skillType === 'mcp' ? 'xcodebuildmcp ' : 'xcodebuildmcp-cli ' ;
34+ function skillDisplayName ( skillType : SkillType ) : string {
35+ return skillType === 'mcp' ? 'XcodeBuildMCP (MCP server) ' : 'XcodeBuildMCP CLI ' ;
3636}
3737
3838function detectClients ( ) : ClientInfo [ ] {
@@ -285,7 +285,7 @@ export function registerInitCommand(app: Argv): void {
285285 results . push ( result ) ;
286286 }
287287
288- writeLine ( `Installed ${ skillLabel ( skillType ) } skill` ) ;
288+ writeLine ( `Installed ${ skillDisplayName ( skillType ) } skill` ) ;
289289 for ( const result of results ) {
290290 writeLine ( ` Client: ${ result . client } ` ) ;
291291 writeLine ( ` Location: ${ result . location } ` ) ;
You can’t perform that action at this time.
0 commit comments