@tsuga/cli 1.69.0 → 1.72.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 +6 -1
- package/dist/cli.js +281 -94
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -106,6 +106,11 @@ Show current configuration (includes defaults):
|
|
|
106
106
|
tsuga config
|
|
107
107
|
```
|
|
108
108
|
|
|
109
|
+
### Usage data
|
|
110
|
+
|
|
111
|
+
The first time a command succeeds in an interactive terminal, the CLI asks once whether to send usage data.
|
|
112
|
+
Change the answer with `tsuga config set telemetry on` (or `off`). `TSUGA_TELEMETRY=1` (or `0`) overrides the saved answer.
|
|
113
|
+
|
|
109
114
|
## Defaults
|
|
110
115
|
|
|
111
116
|
Commands have built-in defaults so you can omit common flags:
|
|
@@ -616,7 +621,7 @@ Expand a short link copied from Logs or Traces, or a widget share link, and deco
|
|
|
616
621
|
```bash
|
|
617
622
|
tsuga unshorten https://app.tsuga.com/l/<CODE>
|
|
618
623
|
tsuga unshorten https://api.tsuga.com/v0/widget-shares/<ORG_ID>/<CODE>
|
|
619
|
-
tsuga unshorten 'https://app.tsuga.com/
|
|
624
|
+
tsuga unshorten 'https://app.tsuga.com/logs?query=level%3AERROR'
|
|
620
625
|
```
|
|
621
626
|
|
|
622
627
|
Malformed URL encoding or out-of-range timestamps produce a usage error (exit `2`). Exit `4` means the API returned an error; check the reported HTTP status. A `404` means the code is unknown, expired, or belongs to another organization.
|