mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-07 12:57:09 +00:00
26 lines
619 B
Plaintext
26 lines
619 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# ohdear
|
|
|
|
> The official Oh Dear CLI.
|
|
> More information: <https://ohdear.app/docs/tools-and-sdks/our-cli-tool#available-commands>.
|
|
|
|
- Display details about the currently authenticated user:
|
|
|
|
`ohdear get-me`
|
|
|
|
- Add a new monitor to Oh Dear:
|
|
|
|
`ohdear create-monitor --field "team_id={{team_id}}" --field "type={{http|ping|tcp}}" --field "url={{url}}"`
|
|
|
|
- Display a list of monitors and their current status:
|
|
|
|
`ohdear list-monitors`
|
|
|
|
- Display details about a specific monitor:
|
|
|
|
`ohdear get-monitor --monitor-id {{monitor_id}}`
|