mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +00:00
chore(cli): rename Cmd to Command (#12616)
I think Command is cleaner and my original decision to use "Cmd" a mistake. Plus this creates better parity with cobra.
This commit is contained in:
@ -28,7 +28,7 @@ import (
|
||||
//nolint:tparallel,paralleltest
|
||||
func TestCommandHelp(t *testing.T) {
|
||||
// Test with AGPL commands
|
||||
getCmds := func(t *testing.T) *serpent.Cmd {
|
||||
getCmds := func(t *testing.T) *serpent.Command {
|
||||
// Must return a fresh instance of cmds each time.
|
||||
|
||||
t.Helper()
|
||||
|
Reference in New Issue
Block a user