Merge dependabot/npm_and_yarn/prettier-3.2.4 into combined-prs-branch
[e-mobility-charging-stations-simulator.git] / src / start.ts
1 // Partial Copyright Jerome Benoit. 2021-2024. All Rights Reserved.
2
3 import chalk from 'chalk'
4
5 import { Bootstrap } from './charging-station/index.js'
6
7 try {
8 await Bootstrap.getInstance().start()
9 } catch (error) {
10 console.error(chalk.red('Startup error: '), error)
11 }