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.
This commit is contained in:
28
codex-cli/src/cli-singlepass.tsx
Normal file
28
codex-cli/src/cli-singlepass.tsx
Normal file
@@ -0,0 +1,28 @@
|
||||
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 {};
|
||||
Reference in New Issue
Block a user