add model remove cli command
This commit is contained in:
+9
-1
@@ -255,4 +255,12 @@ Started: Sun Feb 1 12:22:47 AM CET 2026
|
||||
- Downloads with progress callback showing percentage (10%, 20%, ...)
|
||||
- Prints success message with full model path
|
||||
- Tested: cloud model rejection, unknown model error, download with progress, already installed
|
||||
- All tests passing, typecheck passes
|
||||
- All tests passing, typecheck passes
|
||||
|
||||
### Task 26: Add model remove CLI command
|
||||
- Created `modelRemoveCmd()` subcommand with Use: 'remove <model-name>'
|
||||
- Uses `provider.FindModelByID()` to find model across all providers
|
||||
- Cloud models: prints 'nothing to remove'
|
||||
- Not installed: returns error 'model is not installed'
|
||||
- Installed: calls `whisper.Remove()`, prints success message
|
||||
- All verification scenarios tested, typecheck passes
|
||||
Reference in New Issue
Block a user