Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/heavy-cycles-joke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@e2b/cli': patch
---

add dependency notice to template migrate command
16 changes: 11 additions & 5 deletions packages/cli/src/commands/template/migrate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,20 +209,26 @@ export const migrateCommand = new commander.Command('migrate')

console.log('\n🎉 Migration completed successfully!')

console.log('\n🔨 You can now build your template using:')
console.log('\n🔨 To get started with your template:')
if (language === Language.TypeScript) {
console.log(
` ${asPrimary('npx tsx build.dev.ts')} (for development)`
` ${asPrimary('npm install e2b')} (install e2b dependency)`
)
console.log(
` ${asPrimary('npx tsx build.prod.ts')} (for production)`
` ${asPrimary('npx tsx build.dev.ts')} (run development build)`
)
console.log(
` ${asPrimary('npx tsx build.prod.ts')} (run production build)`
)
} else {
console.log(
` ${asPrimary('python build_dev.py')} (for development)`
` ${asPrimary('pip install e2b')} (install e2b dependency)`
)
console.log(
` ${asPrimary('python build_dev.py')} (run development build)`
)
console.log(
` ${asPrimary('python build_prod.py')} (for production)`
` ${asPrimary('python build_prod.py')} (run production build)`
)
}

Expand Down