Files
coder/cli/testdata/coder_ping_--help.golden
Danny Kopping 4c438bd4d3 feat(cli): add local and UTC time options to ping cmd (#16648)
It's sometimes useful to see when each pong was received, for
correlating these times with other events.

---------

Signed-off-by: Danny Kopping <danny@coder.com>
2025-02-24 05:38:17 +00:00

27 lines
638 B
Plaintext

coder v0.0.0-devel
USAGE:
coder ping [flags] <workspace>
Ping a workspace
OPTIONS:
-n, --num int
Specifies the number of pings to perform. By default, pings will
continue until interrupted.
--time bool
Show the response time of each pong in local time.
-t, --timeout duration (default: 5s)
Specifies how long to wait for a ping to complete.
--utc bool
Show the response time of each pong in UTC (implies --time).
--wait duration (default: 1s)
Specifies how long to wait between pings.
———
Run `coder --help` for a list of global options.