MCPcopy Create free account
hub / github.com/Snapchat/Valdi / onComplete

Method onComplete

npm_modules/cli/src/setup/DevSetupHelper.ts:108–123  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

106 }
107
108 onComplete(): void {
109 let suffix = '';
110 const rcFile = this.getRcFile();
111
112 if (rcFile) {
113 suffix += ` Please run ${wrapInColor(`source ${rcFile}`, ANSI_COLORS.YELLOW_COLOR)} or restart your terminal.`;
114 }
115 console.log(`${wrapInColor('Dev setup completed!', ANSI_COLORS.GREEN_COLOR)}.${suffix}`);
116 console.log();
117 console.log(wrapInColor('📝 Next steps:', ANSI_COLORS.BLUE_COLOR));
118 console.log(' 1. Restart your terminal or source your shell configuration');
119 console.log(' 2. Install VSCode/Cursor extensions for the best development experience:');
120 console.log(` ${wrapInColor('https://github.com/Snapchat/Valdi/blob/main/docs/INSTALL.md#vscodecursor-setup-optional-but-recommended', ANSI_COLORS.BLUE_COLOR)}`);
121 console.log(' 3. Run `valdi doctor` to verify your setup');
122 console.log(' 4. Create your first project with `valdi bootstrap`');
123 }
124
125 async setupShellAutoComplete(): Promise<void> {
126 const rcFile = this.getRcFile();

Callers 2

macOSSetupFunction · 0.95
linuxSetupFunction · 0.95

Calls 3

getRcFileMethod · 0.95
wrapInColorFunction · 0.90
logMethod · 0.65

Tested by

no test coverage detected