wenox-cli 1.3.0 → 1.3.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 +34 -0
- package/bin/wenox.js +9 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -13,6 +13,18 @@ npm install -g wenox-cli
|
|
|
13
13
|
1. **Get your API key** from [WENOX Dashboard](https://wenox.ai/dashboard)
|
|
14
14
|
|
|
15
15
|
2. **Set your API key:**
|
|
16
|
+
|
|
17
|
+
**For CMD (Windows Command Prompt):**
|
|
18
|
+
```cmd
|
|
19
|
+
set WENOX_API_KEY=your_api_key_here
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
**For PowerShell:**
|
|
23
|
+
```powershell
|
|
24
|
+
$env:WENOX_API_KEY="your_api_key_here"
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
**For Linux/Mac:**
|
|
16
28
|
```bash
|
|
17
29
|
export WENOX_API_KEY="your_api_key_here"
|
|
18
30
|
```
|
|
@@ -22,6 +34,28 @@ npm install -g wenox-cli
|
|
|
22
34
|
wenox
|
|
23
35
|
```
|
|
24
36
|
|
|
37
|
+
## Troubleshooting
|
|
38
|
+
|
|
39
|
+
### Command Not Found
|
|
40
|
+
If you get `'wenox' is not recognized` error:
|
|
41
|
+
|
|
42
|
+
1. **Try using npx:**
|
|
43
|
+
```bash
|
|
44
|
+
npx wenox
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
2. **Restart your terminal** after installation
|
|
48
|
+
|
|
49
|
+
3. **Check NPM global path:**
|
|
50
|
+
```bash
|
|
51
|
+
npm config get prefix
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
4. **Install globally with admin rights:**
|
|
55
|
+
```bash
|
|
56
|
+
npm install -g wenox-cli
|
|
57
|
+
```
|
|
58
|
+
|
|
25
59
|
## Features
|
|
26
60
|
|
|
27
61
|
- 🤖 **Latest AI Models** - Claude, GPT-4, and more
|
package/bin/wenox.js
CHANGED
|
@@ -325,12 +325,19 @@ ${chalk.bold('Examples:')}
|
|
|
325
325
|
|
|
326
326
|
${chalk.bold('Setup:')}
|
|
327
327
|
1. Get API key: ${chalk.blue('https://wenox.ai/dashboard')}
|
|
328
|
-
2. Set environment
|
|
328
|
+
2. Set environment variable:
|
|
329
|
+
${chalk.yellow('CMD:')} set WENOX_API_KEY=your_key
|
|
330
|
+
${chalk.yellow('PowerShell:')} $env:WENOX_API_KEY="your_key"
|
|
329
331
|
3. Run: ${chalk.cyan('wenox')}
|
|
330
332
|
|
|
333
|
+
${chalk.bold('Troubleshooting:')}
|
|
334
|
+
• If 'wenox' command not found, try: ${chalk.cyan('npx wenox')}
|
|
335
|
+
• Or restart your terminal after installation
|
|
336
|
+
• Check PATH: ${chalk.cyan('npm config get prefix')}
|
|
337
|
+
|
|
331
338
|
${chalk.bold('System Requirements:')}
|
|
332
339
|
• Python 3.10+ (all versions supported)
|
|
333
|
-
•
|
|
340
|
+
• Node.js 16+ for NPM installation
|
|
334
341
|
`);
|
|
335
342
|
return;
|
|
336
343
|
}
|