feat(cli): add experimental rpty command (#16700)

Relates to https://github.com/coder/coder/issues/16419

Builds upon https://github.com/coder/coder/pull/16638 and adds a command
`exp rpty` that allows you to open a ReconnectingPTY session to an
agent.

This ultimately allows us to add an integration-style CLI test to verify
the functionality added in #16638 .
This commit is contained in:
Cian Johnston
2025-02-26 12:32:57 +00:00
committed by GitHub
parent 38c0e8a086
commit c5a265fbc3
7 changed files with 333 additions and 0 deletions
+1
View File
@@ -14,6 +14,7 @@ func (r *RootCmd) expCmd() *serpent.Command {
r.scaletestCmd(),
r.errorExample(),
r.promptExample(),
r.rptyCommand(),
},
}
return cmd