Initial commit
This commit is contained in:
15
src/cli.ts
Normal file
15
src/cli.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env -S node --experimental-repl-await
|
||||
import {globalRegistry} from '@extollo/lib'
|
||||
import {cli} from './bootstrap'
|
||||
|
||||
globalRegistry.run(async () => {
|
||||
/*
|
||||
* The Application
|
||||
* -----------------------------------------------------
|
||||
* The application instance is a global inversion of control container that
|
||||
* ties your entire application together. The app container manages services
|
||||
* and lifecycle.
|
||||
*/
|
||||
const app = cli()
|
||||
await app.run()
|
||||
})
|
||||
Reference in New Issue
Block a user