import "./string-width-DSNjKczz.mjs";
import { n as require_cjs, t as app } from "./app-CRI1UrYE.mjs";
import "./cli-cursor-DNwIWJW3.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