@tsuga/cli 1.91.0 → 1.93.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 +4 -2
- package/dist/cli.js +86 -86
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -120,6 +120,8 @@ tsuga config set default from --value=-1h
|
|
|
120
120
|
tsuga config set default query --value 'level:ERROR'
|
|
121
121
|
```
|
|
122
122
|
|
|
123
|
+
Defaults exist for `from`, `to`, `query`, `max-results` and `cluster` (see [Clusters](#clusters)); any other name is rejected. `from` and `to` must be a valid [time](#time-formats) and `max-results` a positive integer, so a typo is reported when the default is set rather than by every later command.
|
|
124
|
+
|
|
123
125
|
Current defaults are listed by `tsuga config` (custom overrides marked with `*`).
|
|
124
126
|
|
|
125
127
|
Reset all custom defaults:
|
|
@@ -128,7 +130,7 @@ Reset all custom defaults:
|
|
|
128
130
|
tsuga config reset defaults
|
|
129
131
|
```
|
|
130
132
|
|
|
131
|
-
Clear a single default by setting it to an empty value:
|
|
133
|
+
Clear a single default by setting it to an empty value. Its built-in default, if it has one, applies again:
|
|
132
134
|
|
|
133
135
|
```bash
|
|
134
136
|
tsuga config set default cluster --value ''
|
|
@@ -172,7 +174,7 @@ tsuga <RESOURCE> update <ID> -f payload.json
|
|
|
172
174
|
tsuga <RESOURCE> delete <ID>
|
|
173
175
|
```
|
|
174
176
|
|
|
175
|
-
You can also pass JSON inline with `-d
|
|
177
|
+
You can also pass JSON inline with `-d`. A command takes the body from `-f` or `-d`, never both:
|
|
176
178
|
|
|
177
179
|
```bash
|
|
178
180
|
tsuga teams create -d '{"name": "platform", "visibility": "public"}'
|