2023-09-08 13:21:33 -05:00
|
|
|
coder v0.0.0-devel
|
2023-03-23 17:42:20 -05:00
|
|
|
|
2023-09-14 17:48:29 -07:00
|
|
|
USAGE:
|
2023-09-08 13:21:33 -05:00
|
|
|
coder ping [flags] <workspace>
|
2023-02-13 10:38:00 -06:00
|
|
|
|
2023-09-08 13:21:33 -05:00
|
|
|
Ping a workspace
|
|
|
|
|
|
2023-09-14 17:48:29 -07:00
|
|
|
OPTIONS:
|
2026-10-26 13:17:51 -04:00
|
|
|
-c, --column [workspace|total|successful|min|avg|max|variance] (default: workspace,total,successful,min,avg,max,variance)
|
|
|
|
|
Columns to display in table output.
|
|
|
|
|
|
2024-09-25 13:24:23 +10:00
|
|
|
-n, --num int
|
|
|
|
|
Specifies the number of pings to perform. By default, pings will
|
2026-10-26 13:17:51 -04:00
|
|
|
continue until interrupted. Required with --output json.
|
|
|
|
|
|
|
|
|
|
-o, --output table|json (default: table)
|
|
|
|
|
Output format.
|
2023-02-13 10:38:00 -06:00
|
|
|
|
2025-02-24 07:38:17 +02:00
|
|
|
--time bool
|
|
|
|
|
Show the response time of each pong in local time.
|
|
|
|
|
|
2023-09-14 17:48:29 -07:00
|
|
|
-t, --timeout duration (default: 5s)
|
2023-03-23 17:42:20 -05:00
|
|
|
Specifies how long to wait for a ping to complete.
|
2023-02-13 10:38:00 -06:00
|
|
|
|
2025-02-24 07:38:17 +02:00
|
|
|
--utc bool
|
|
|
|
|
Show the response time of each pong in UTC (implies --time).
|
|
|
|
|
|
2023-09-14 17:48:29 -07:00
|
|
|
--wait duration (default: 1s)
|
2023-03-23 17:42:20 -05:00
|
|
|
Specifies how long to wait between pings.
|
|
|
|
|
|
2023-09-08 13:21:33 -05:00
|
|
|
———
|
2023-03-23 17:42:20 -05:00
|
|
|
Run `coder --help` for a list of global options.
|