@@ -42,7 +42,7 @@ func seedKVInEnv(server *renderapi.Server, name, envID string) *client.KeyValueD
4242 return kv
4343}
4444
45- // executeKVCommand runs an `ea kv` command with the default active workspace
45+ // executeKVCommand runs a ` kv` command with the default active workspace
4646// seeded in the test config. Use this for ordinary KV command tests.
4747func executeKVCommand (t * testing.T , server * renderapi.Server , extraArgs ... string ) (CommandResult , error ) {
4848 t .Helper ()
@@ -52,7 +52,7 @@ func executeKVCommand(t *testing.T, server *renderapi.Server, extraArgs ...strin
5252 }, extraArgs ... )
5353}
5454
55- // executeKVCommandWithoutActiveWorkspace runs an `ea kv` command without
55+ // executeKVCommandWithoutActiveWorkspace runs a ` kv` command without
5656// seeding the active workspace config. Prefer executeKVCommand unless the test
5757// specifically covers missing-workspace behavior or workspace derivation.
5858func executeKVCommandWithoutActiveWorkspace (t * testing.T , server * renderapi.Server , extraArgs ... string ) (CommandResult , error ) {
@@ -87,15 +87,13 @@ func executeKVCommandWithConfig(t *testing.T, server *renderapi.Server, cfg *con
8787 }
8888
8989 root := newRootCmd ()
90- ea := newEarlyAccessCmd ()
91- root .AddCommand (ea )
92- setupKVCommands (ea , deps )
90+ setupKVCommands (root , deps )
9391 setupRootCmdPersistentRun (root , deps )
9492
9593 var stdout , stderr bytes.Buffer
9694 root .SetOut (& stdout )
9795 root .SetErr (& stderr )
98- root .SetArgs (append ([]string {"ea" , " kv" }, extraArgs ... ))
96+ root .SetArgs (append ([]string {"kv" }, extraArgs ... ))
9997
10098 execErr := root .Execute ()
10199 return CommandResult {Stdout : stdout .String (), Stderr : stderr .String ()}, execErr
0 commit comments