import { r as require_cjs, t as app } from "./app-Be0xsoIH.mjs";
import "./string-width-D78SVDLD.mjs";
import "./cli-cursor-Dab4mDU2.mjs";
import "./token-error-C0CafU2G.mjs";

//#region src/index.ts
var import_cjs = require_cjs();
function createApp(opts) {
	const instance = app(opts);
	return { async run(args) {
		await (0, import_cjs.run)(instance, args);
	} };
}

//#endregion
export { createApp };
//# sourceMappingURL=index.mjs.map