()
| 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(); |
no test coverage detected