@sinch/cli 0.2.1 → 0.3.0
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 +8 -6
- package/dist/index.js +156 -142
- package/package.json +4 -1
package/README.md
CHANGED
|
@@ -98,9 +98,13 @@ sinch functions status <function-id>
|
|
|
98
98
|
| `sinch sip endpoints list <trunkId>` | List endpoints for a trunk |
|
|
99
99
|
| `sinch sip endpoints create <trunkId>` | Create a SIP endpoint |
|
|
100
100
|
| `sinch secrets add` | Store secrets securely |
|
|
101
|
+
| `sinch config profile list` | List credential profiles |
|
|
102
|
+
| `sinch config profile create <name>` | Create a credential profile |
|
|
101
103
|
| `sinch templates list` | Browse available templates |
|
|
102
104
|
| `sinch help` | Show help for any command |
|
|
103
105
|
|
|
106
|
+
**Global options:** `--profile <name>` — use a specific credential profile for any command.
|
|
107
|
+
|
|
104
108
|
## Templates
|
|
105
109
|
|
|
106
110
|
Create functions from pre-built templates:
|
|
@@ -201,14 +205,12 @@ sinch auth logout
|
|
|
201
205
|
sinch auth login
|
|
202
206
|
```
|
|
203
207
|
|
|
204
|
-
### Debug
|
|
208
|
+
### Debug Levels
|
|
205
209
|
|
|
206
210
|
```bash
|
|
207
|
-
#
|
|
208
|
-
DEBUG=
|
|
209
|
-
|
|
210
|
-
# HTTP request debugging
|
|
211
|
-
DEBUG_HTTP=1 sinch functions deploy
|
|
211
|
+
DEBUG=1 sinch functions dev # Basic debug output
|
|
212
|
+
DEBUG=2 sinch functions deploy # Verbose + HTTP logging
|
|
213
|
+
DEBUG=3 sinch functions dev # Full debug with headers
|
|
212
214
|
```
|
|
213
215
|
|
|
214
216
|
### Common Issues
|