Files
llmx/codex-cli/src/cli-singlepass.tsx
Rohith Gilla 4ecea80423 fix: standardize filename to kebab-case 🐍➡️🥙 (#302)
Probably not the most exciting PR you’ll get today, but I noticed that
every file in the repo follows kebab-case… except one brave little
underscore in `cli_singlepass.tsx`.

So I made the world a little more consistent. Just a filename rename —
no logic changes, no semicolons harmed

Didn’t touch any code, I promise. Just bringing order to the filesystem
— one hyphen at a time.
2025-04-17 20:25:44 -07:00

29 lines
583 B
TypeScript

import type { AppConfig } from "./utils/config";
import { SinglePassApp } from "./components/singlepass-cli-app";
import { render } from "ink";
import React from "react";
export async function runSinglePass({
originalPrompt,
config,
rootPath,
}: {
originalPrompt?: string;
config: AppConfig;
rootPath: string;
}): Promise<void> {
return new Promise((resolve) => {
render(
<SinglePassApp
originalPrompt={originalPrompt}
config={config}
rootPath={rootPath}
onExit={() => resolve()}
/>,
);
});
}
export default {};