Skip to content

Commit dd44106

Browse files
koki-developclaude
andcommitted
refactor: convert main entry point to TSX and integrate chat UI
- Replace index.ts with index.tsx for JSX support - Update Commander.js action to render chat UI instead of console.log - Import and render App component 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 0d6cd83 commit dd44106

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
import { Command } from "commander";
2+
import { render } from "ink";
23
import packageJson from "../package.json" with { type: "json" };
4+
import { App } from "./App";
35

46
const program = new Command();
57

68
program
79
.name("cat-code")
810
.version(packageJson.version)
11+
.description("A simple chat CLI tool")
912
.action(() => {
10-
console.log("hello world");
13+
render(<App />);
1114
});
1215

1316
program.parse(process.argv);

0 commit comments

Comments
 (0)