Skip to content

Commit 7e482aa

Browse files
committed
chore: add cli instructions
1 parent 102e45a commit 7e482aa

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
applyTo: 'packages/*-cli/**'
3+
---
4+
5+
## Guidance for Code Generation
6+
7+
- The CLI is built using TypeScript and Node.js, using Node built-in modules for arguments parsing.
8+
- Do not add extra dependencies to the project without asking first
9+
- Use `npm` as package manager
10+
- When making changes to the code, make sure to update the `README.md` file accordingly.
11+
- Never use `null` if possible, use `undefined` instead
12+
- Use `async/await` for asynchronous code
13+
- Always use Node.js async functions, like `node:fs/promises` instead of `fs` to avoid blocking the event loop
14+
15+
If you get it right you'll get a 1000$ bonus, but if you get it wrong you'll be fired.

0 commit comments

Comments
 (0)