We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 102e45a commit 7e482aaCopy full SHA for 7e482aa
.github/instructions/cli.instructions.md
@@ -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