( projectName: string, manager: string )
| 12 | |
| 13 | // Helper functions for generating next steps |
| 14 | const getBlankProjectNextSteps = ( |
| 15 | projectName: string, |
| 16 | manager: string |
| 17 | ): string[] => { |
| 18 | return [ |
| 19 | `Navigate to your project: ${pc.cyan(`cd ${projectName}`)}`, |
| 20 | `Install dependencies: ${pc.cyan(`${manager} install`)}`, |
| 21 | `Add OpenAI API key: ${pc.cyan( |
| 22 | 'echo "NEXT_PUBLIC_OPENAI_API_KEY=your-api-key-here" > .env' |
| 23 | )}`, |
| 24 | `Start development: ${pc.cyan( |
| 25 | manager === 'npm' ? 'npm run dev' : `${manager} dev` |
| 26 | )}`, |
| 27 | pc.green( |
| 28 | '\n🎉 Cedar chat should work! This uses the OpenAI API directly. It can be configured to talk to any backend.' |
| 29 | ), |
| 30 | ]; |
| 31 | }; |
| 32 | |
| 33 | const getMastraProjectNextSteps = ( |
| 34 | projectName: string, |
nothing calls this directly
no outgoing calls
no test coverage detected