@oneuptime/cli 14.0.76 → 14.0.78
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 +20 -10
- package/build/dist/Index.js +205428 -202763
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -113,11 +113,20 @@ Every resource supports `list`, `create` and `count`. Records (monitors, inciden
|
|
|
113
113
|
|
|
114
114
|
### Utility Commands
|
|
115
115
|
|
|
116
|
-
| Command | Description
|
|
117
|
-
| --------------------- |
|
|
118
|
-
| `oneuptime version` | Print CLI version
|
|
119
|
-
| `oneuptime whoami` | Show current authentication info
|
|
120
|
-
| `oneuptime resources` | List all available resource types
|
|
116
|
+
| Command | Description |
|
|
117
|
+
| --------------------- | --------------------------------------------------------------- |
|
|
118
|
+
| `oneuptime version` | Print CLI version |
|
|
119
|
+
| `oneuptime whoami` | Show current authentication info |
|
|
120
|
+
| `oneuptime resources` | List all available resource types |
|
|
121
|
+
| `oneuptime deploy` | Record a deploy, or another change, for charts and OneUptime AI |
|
|
122
|
+
|
|
123
|
+
`oneuptime deploy` writes with a telemetry ingestion key, not an API key:
|
|
124
|
+
|
|
125
|
+
```bash
|
|
126
|
+
ONEUPTIME_URL=https://oneuptime.com \
|
|
127
|
+
ONEUPTIME_TELEMETRY_INGESTION_KEY=xxx \
|
|
128
|
+
oneuptime deploy --service checkout --service-version 2.3.1 --commit "$GIT_SHA" --environment production
|
|
129
|
+
```
|
|
121
130
|
|
|
122
131
|
## Output Formats
|
|
123
132
|
|
|
@@ -157,11 +166,12 @@ ONEUPTIME_API_KEY=sk-xxx ONEUPTIME_URL=https://oneuptime.com oneuptime incident
|
|
|
157
166
|
|
|
158
167
|
## Environment Variables
|
|
159
168
|
|
|
160
|
-
| Variable
|
|
161
|
-
|
|
|
162
|
-
| `ONEUPTIME_API_KEY`
|
|
163
|
-
| `ONEUPTIME_URL`
|
|
164
|
-
| `
|
|
169
|
+
| Variable | Description |
|
|
170
|
+
| ----------------------------------- | ---------------------------------------------- |
|
|
171
|
+
| `ONEUPTIME_API_KEY` | API key for authentication |
|
|
172
|
+
| `ONEUPTIME_URL` | OneUptime instance URL |
|
|
173
|
+
| `ONEUPTIME_TELEMETRY_INGESTION_KEY` | Telemetry ingestion key for `oneuptime deploy` |
|
|
174
|
+
| `NO_COLOR` | Disable colored output |
|
|
165
175
|
|
|
166
176
|
## Configuration File
|
|
167
177
|
|