mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat(cli): add logs cmd (#21430)
This PR adds a command to view the provisioner and agent logs for a given workspace. Note: I did investigate using the existing `cliui` methods to tail the logs but they are tailored to a very specific use-case. Other changes: - Adds `Agents` to `dbfake.WorkspaceResponse` - Adds methods to generate provisioner and agent logs in `dbgen` --------- Co-authored-by: Steven Masley <Emyrk@users.noreply.github.com>
This commit is contained in:
co-authored by
Steven Masley
parent
49b34a716a
commit
0f446f99dd
@@ -1436,6 +1436,11 @@
|
||||
"description": "Unauthenticate your local session",
|
||||
"path": "reference/cli/logout.md"
|
||||
},
|
||||
{
|
||||
"title": "logs",
|
||||
"description": "View logs for a workspace",
|
||||
"path": "reference/cli/logs.md"
|
||||
},
|
||||
{
|
||||
"title": "netcheck",
|
||||
"description": "Print network debug information for DERP and STUN",
|
||||
|
||||
Reference in New Issue
Block a user