MCPcopy
hub / github.com/simstudioai/sim / cleanupExistingContainers

Function cleanupExistingContainers

packages/cli/src/index.ts:77–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

75}
76
77async function cleanupExistingContainers(): Promise<void> {
78 console.log(chalk.blue('🧹 Cleaning up any existing containers...'))
79 await stopAndRemoveContainer(APP_CONTAINER)
80 await stopAndRemoveContainer(DB_CONTAINER)
81 await stopAndRemoveContainer(MIGRATIONS_CONTAINER)
82 await stopAndRemoveContainer(REALTIME_CONTAINER)
83}
84
85async function main() {
86 const options = program.parse().opts()

Callers 1

mainFunction · 0.85

Calls 2

stopAndRemoveContainerFunction · 0.85
logMethod · 0.80

Tested by

no test coverage detected