Skip to content

Commit 85b681b

Browse files
committed
feat: add init cursor command
1 parent 85a1a0e commit 85b681b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed
File renamed without changes.

packages/cli/src/cli/cmd/init/cursor.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@ import { InteractiveCommand, InteractiveOption } from "interactive-commander";
22
import Ora from "ora";
33
import fs from "fs";
44
import path from "path";
5-
import { fileURLToPath } from "url";
65
import { confirm } from "@inquirer/prompts";
76

8-
const AGENTS_MD = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "../../../agents.md");
7+
const AGENTS_MD = path.resolve(process.cwd(), "packages/cli/agents.md");
98
const CURSORRULES = path.resolve(process.cwd(), ".cursorrules");
109

1110
export default new InteractiveCommand()

0 commit comments

Comments
 (0)