Add update commands to shell script router
Enable 'rag-mini check-update' and 'rag-mini update' commands by routing them through to the Python script. ✅ Commands now work: - rag-mini check-update (shows available updates) - rag-mini update (installs updates with confirmation) - Regular commands show discrete notifications 🔧 Fix: Shell wrapper now properly routes update commands to rag-mini.py instead of showing 'unknown command' error.
This commit is contained in:
parent
e7e0f71a35
commit
831b95ea48
2
rag-mini
2
rag-mini
@ -327,7 +327,7 @@ main() {
|
|||||||
shift
|
shift
|
||||||
exec "$PYTHON" "$SCRIPT_DIR/mini_rag/fast_server.py" "$@"
|
exec "$PYTHON" "$SCRIPT_DIR/mini_rag/fast_server.py" "$@"
|
||||||
;;
|
;;
|
||||||
"index"|"search"|"explore"|"status")
|
"index"|"search"|"explore"|"status"|"update"|"check-update")
|
||||||
# Direct CLI commands - call Python script
|
# Direct CLI commands - call Python script
|
||||||
exec "$PYTHON" "$SCRIPT_DIR/rag-mini.py" "$@"
|
exec "$PYTHON" "$SCRIPT_DIR/rag-mini.py" "$@"
|
||||||
;;
|
;;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user