--- Keys command ---
(t *testing.T)
| 167 | // --- Keys command --- |
| 168 | |
| 169 | func TestNewKeysCommand_Structure(t *testing.T) { |
| 170 | cmd := NewKeysCommand() |
| 171 | |
| 172 | assert.NotNil(t, cmd) |
| 173 | assert.Equal(t, "keys <keyFilePath>", cmd.Use) |
| 174 | assert.Equal(t, "Create an alternative key file path", cmd.Short) |
| 175 | assert.Equal(t, "Create an alternative key file path", cmd.Long) |
| 176 | assert.Equal(t, []string{"key"}, cmd.Aliases) |
| 177 | assert.NotNil(t, cmd.Run) |
| 178 | } |
| 179 | |
| 180 | func TestNewKeysCommand_ArgsValidation(t *testing.T) { |
| 181 | cmd := NewKeysCommand() |
nothing calls this directly
no test coverage detected