mirror of
https://github.com/simstudioai/sim.git
synced 2026-04-06 03:00:16 -04:00
15 lines
400 B
JavaScript
Executable File
15 lines
400 B
JavaScript
Executable File
#!/usr/bin/env node
|
|
|
|
// This file is the entry point for the 'simstudio' command
|
|
try {
|
|
require('../dist/index.js')
|
|
} catch (error) {
|
|
if (error.code === 'MODULE_NOT_FOUND') {
|
|
console.error('Sim Studio CLI has not been built. Please run npm run build first.')
|
|
process.exit(1)
|
|
} else {
|
|
console.error('An error occurred while starting Sim Studio CLI:', error)
|
|
process.exit(1)
|
|
}
|
|
}
|