From e2fe75ebf28684ede5b54e7e97833994e0201346 Mon Sep 17 00:00:00 2001 From: garrettmills Date: Wed, 13 Jul 2022 21:05:02 -0500 Subject: [PATCH] Add Foreground unit --- src/bootstrap.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/bootstrap.ts b/src/bootstrap.ts index 38dd63f..ee3ba4a 100644 --- a/src/bootstrap.ts +++ b/src/bootstrap.ts @@ -1,4 +1,4 @@ -import {Application, CommandLineApplication} from '@extollo/lib' +import {Application, CommandLineApplication, Foreground} from '@extollo/lib' import {Units} from './Units.extollo' /* @@ -38,6 +38,10 @@ export function cli(): Application { */ export function app(): Application { const app = Application.getApplication() - app.scaffold(__dirname, Units) + + const units = [...Units] + units.push(Foreground) + + app.scaffold(__dirname, units) return app }