import { dirname } from "path"; import Core from "./core"; export default async function (argv: string[]) { const core = new Core(argv); await core.load(); await core.run(); } export const BUILD_ROOT_PATH = import.meta.dirname; export const ROOT_PATH = dirname(BUILD_ROOT_PATH); export const version: string = "__PACKAGE_VERSION__";