code-craft-cli 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@ GOOGLE_GENERATIVE_AI_API_KEY=your_api_key_here
|
|
|
22
22
|
|
|
23
23
|
Run the tool by describing the code you want to generate. By default, it saves to output.ts.
|
|
24
24
|
|
|
25
|
-
```
|
|
25
|
+
```text
|
|
26
26
|
gen "Create a function to calculate the area of a circle"
|
|
27
27
|
```
|
|
28
28
|
|
|
@@ -30,7 +30,7 @@ gen "Create a function to calculate the area of a circle"
|
|
|
30
30
|
|
|
31
31
|
The tool is context-aware. If you use a .ts extension, it will automatically provide explicit TypeScript types and interfaces. For .js, it will provide clean JavaScript.
|
|
32
32
|
|
|
33
|
-
```
|
|
33
|
+
```shell
|
|
34
34
|
# Generate a JavaScript file
|
|
35
35
|
gen "fetch bitcoin price from a public API" --name crypto.js
|
|
36
36
|
|
|
@@ -56,7 +56,7 @@ Syed Affan Ali
|
|
|
56
56
|
|
|
57
57
|
GitHub: MrAfoo
|
|
58
58
|
|
|
59
|
-
Portfolio: mrafoo-portfolio.vercel.app
|
|
59
|
+
Portfolio: https://mrafoo-portfolio.vercel.app
|
|
60
60
|
|
|
61
61
|
## License
|
|
62
62
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "code-craft-cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "A high-performance CLI tool to generate runnable code files using Gemini AI",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "Syed Affan Ali",
|
|
@@ -23,4 +23,4 @@
|
|
|
23
23
|
"dotenv": "^16.4.7",
|
|
24
24
|
"ora": "^8.2.1"
|
|
25
25
|
}
|
|
26
|
-
}
|
|
26
|
+
}
|