1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-01-01 18:08:19 +01:00
bitwarden-browser/apps/cli/src/bw.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
526 B
TypeScript
Raw Normal View History

import { program } from "commander";
import { registerOssPrograms } from "./register-oss-programs";
import { ServiceContainer } from "./service-container";
async function main() {
const serviceContainer = new ServiceContainer();
await serviceContainer.init();
2021-12-20 18:04:00 +01:00
await registerOssPrograms(serviceContainer);
program.parse(process.argv);
2018-05-14 17:15:54 +02:00
}
2018-05-14 17:59:34 +02:00
// Node does not support top-level await statements until ES2022, esnext, etc which we don't use yet
// eslint-disable-next-line @typescript-eslint/no-floating-promises
main();