You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add status page list and info commands (#19)
Add a new `status-page` (alias `sp`) command group with two subcommands:
- `list`: displays all status pages with ID, title, and URL
- `info <page-id>`: shows page details and attached components grouped
by component group, using the GetStatusPageContent RPC
URL resolves to custom domain when available, otherwise slug.openstatus.dev.
OpenStatus is a command line interface for managing your monitors and triggering your synthetics tests.Please report any issues athttps://github.com/openstatusHQ/cli/issues/new.
5
+
OpenStatus CLI lets you manage your status pages and uptime monitors from the command line. Report and track incidents, define monitors as code, and run on-demand checks. Get started: openstatus login Save your API tokenopenstatus status-report create Report an incident openstatus status-report list View active incidents openstatus monitors apply Sync monitors from config openstatus monitors list List your monitors openstatus run Run synthetic tests https://docs.openstatus.dev | https://github.com/openstatusHQ/cli/issues/new.
6
6
7
-
This is OpenStatus Command Line Interface, the OpenStatus.dev CLI.
7
+
Manage status pages, monitors, and incidents from the terminal.
Import all your monitors from your workspace to a YAML file; it will also create a lock file to manage your monitors with 'apply'.
95
110
@@ -110,9 +125,10 @@ The following flags are supported:
110
125
111
126
Get a monitor information.
112
127
113
-
> openstatus monitors info [MonitorID]
128
+
> openstatus monitors info <MonitorID>
129
+
> openstatus monitors info 12345
114
130
115
-
Fetch the monitor information. The monitor information includes details such as name, description, endpoint, method, frequency, locations, active status, public status, timeout, degraded after, and body. The body is truncated to 40 characters.
131
+
Fetch the monitor information. The monitor information includes details such as name, description, endpoint, method, frequency, locations, active status, public status, timeout, degraded after, and body.
116
132
117
133
Usage:
118
134
@@ -130,9 +146,10 @@ The following flags are supported:
130
146
131
147
List all monitors.
132
148
133
-
> openstatus monitors list [options]
149
+
> openstatus monitors list
150
+
> openstatus monitors list --all
134
151
135
-
List all monitors. The list shows all your monitors attached to your workspace. It displays the ID, name, and URL of each monitor.
152
+
List all monitors. The list shows all your monitors attached to your workspace. It displays the ID, name, URL, and kind of each monitor.
136
153
137
154
Usage:
138
155
@@ -151,7 +168,8 @@ The following flags are supported:
|`--access-token="…"` (`-t`) | OpenStatus API Access Token ||`OPENSTATUS_API_TOKEN`|
373
+
304
374
### `run` command (aliases: `r`)
305
375
306
-
Run your synthetics tests.
376
+
Run your uptime tests.
307
377
308
-
> openstatus run [options]
378
+
> openstatus run
379
+
> openstatus run --config custom-config.yaml
309
380
310
-
Run the synthetic tests defined in the config.openstatus.yaml. The config file should be in the following format: tests: ids: - monitor-id-1 - monitor-id-2.
381
+
Run the uptime tests defined in the config.openstatus.yaml. The config file should be in the following format: tests: ids: - monitor-id-1 - monitor-id-2.
311
382
312
383
Usage:
313
384
@@ -326,9 +397,9 @@ The following flags are supported:
326
397
327
398
Get your workspace information.
328
399
329
-
> openstatus whoami[options]
400
+
> openstatus whoami
330
401
331
-
Get your current workspace information, display the workspace name, slug, and plan.
402
+
Get your current workspace information. Displays the workspace name, slug, and plan.
332
403
333
404
Usage:
334
405
@@ -341,3 +412,29 @@ The following flags are supported:
341
412
| Name | Description | Default value | Environment variables |
0 commit comments