MCPcopy Index your code
hub / github.com/coder/coder / DefaultCases

Function DefaultCases

cli/clitest/golden.go:40–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38}
39
40func DefaultCases() []CommandHelpCase {
41 return []CommandHelpCase{
42 {
43 Name: "coder --help",
44 Cmd: []string{"--help"},
45 },
46 {
47 Name: "coder server --help",
48 Cmd: []string{"server", "--help"},
49 },
50 }
51}
52
53// TestCommandHelp will test the help output of the given commands
54// using golden files.

Callers 2

TestCommandHelpFunction · 0.92

Calls

no outgoing calls

Tested by 2

TestCommandHelpFunction · 0.74