@waniwani/cli 0.0.6 → 0.0.12
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 +15 -11
- package/dist/index.js +364 -223
- package/dist/index.js.map +1 -1
- package/package.json +58 -59
package/README.md
CHANGED
|
@@ -78,24 +78,28 @@ waniwani mcp deploy
|
|
|
78
78
|
|
|
79
79
|
The CLI stores auth tokens and settings in `~/.waniwani/`.
|
|
80
80
|
|
|
81
|
-
###
|
|
81
|
+
### API URL
|
|
82
82
|
|
|
83
|
-
|
|
84
|
-
|----------|-------------|---------|
|
|
85
|
-
| `WANIWANI_API_URL` | API base URL | `https://app.waniwani.ai` |
|
|
83
|
+
The API URL can be configured in three ways (in order of priority):
|
|
86
84
|
|
|
87
|
-
|
|
85
|
+
1. **Environment variable**: `WANIWANI_API_URL`
|
|
86
|
+
2. **Config file**: `~/.waniwani/config.json` → `apiUrl`
|
|
87
|
+
3. **Default**: `https://app.waniwani.ai`
|
|
88
|
+
|
|
89
|
+
#### Using environment variable
|
|
88
90
|
|
|
89
91
|
```bash
|
|
90
|
-
WANIWANI_API_URL=https://
|
|
92
|
+
WANIWANI_API_URL=https://staging.waniwani.ai waniwani login
|
|
91
93
|
```
|
|
92
94
|
|
|
93
|
-
|
|
95
|
+
#### Using config file
|
|
94
96
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
97
|
+
Edit `~/.waniwani/config.json`:
|
|
98
|
+
|
|
99
|
+
```json
|
|
100
|
+
{
|
|
101
|
+
"apiUrl": "https://staging.waniwani.ai"
|
|
102
|
+
}
|
|
99
103
|
```
|
|
100
104
|
|
|
101
105
|
## License
|