mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:06:51 +08:00
ohdear: rename ohdear-cli (#21350)
Co-authored-by: Meinard Francisco <44516102+znarfm@users.noreply.github.com>
This commit is contained in:
@@ -1,20 +1,8 @@
|
||||
# ohdear-cli
|
||||
|
||||
> An unofficial Oh Dear CLI written with Laravel Zero.
|
||||
> More information: <https://github.com/ohdearapp/ohdear-cli>.
|
||||
> This command has been renamed to `ohdear`.
|
||||
> More information: <https://ohdear.app/docs/tools-and-sdks/our-cli-tool#available-commands>.
|
||||
|
||||
- Display details about the currently authenticated user:
|
||||
- View documentation for the command under its current name:
|
||||
|
||||
`ohdear-cli me`
|
||||
|
||||
- Add a new site to Oh Dear:
|
||||
|
||||
`ohdear-cli sites:add {{url}}`
|
||||
|
||||
- Display a list of sites and their current status:
|
||||
|
||||
`ohdear-cli sites:list`
|
||||
|
||||
- Display details about a specific site:
|
||||
|
||||
`ohdear-cli sites:show {{site_id}}`
|
||||
`tldr ohdear`
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user