mirror of
https://github.com/moghtech/komodo.git
synced 2026-04-27 11:50:24 -05:00
15 lines
296 B
TypeScript
15 lines
296 B
TypeScript
import getFlags from "./flags";
|
|
import { isDockerInstalled } from "./helpers/docker";
|
|
|
|
// used to load async prerequisites
|
|
|
|
async function init() {
|
|
const flags = await getFlags();
|
|
const dockerInstalled = await isDockerInstalled();
|
|
return {
|
|
flags,
|
|
dockerInstalled
|
|
}
|
|
}
|
|
|
|
export default init; |