Command Line Shortcuts (CLI)

Command Line Shortcuts (CLI)

The Pragatix or prgx CLI shortcut can be used from any folder on the server.

Requires Pragatix to be installed using its installer.

Pragatix CLI - Command Shortcuts Usage: pragatix [command] prgx [command] General Commands: help Show this help message stats Show Docker container statistics ps Show running containers logs Show logs from all services (last 100 lines, follow) up Start all services down Stop all services restart Restart all services ui Launch Docker TUI (Terminal UI) Service-Specific Commands: <service> logs Show last 200 lines and follow logs <service> logs all Show all logs for the service <service> logs <pattern> Filter logs by pattern (grep) <service> getlog Copy current logs to DebugData directory <service> up Start a specific service <service> down Stop a specific service <service> restart Recreate service (picks up new env vars) Debug Commands: debug Start debug collector container debug <prompt_id> Run debug collector for specific prompt ID Image Management Commands: images Show status of required Docker images images list List all required Docker images images pull Pull missing Docker images images export Export images to tarball for transfer images download-script Generate script for offline image download Available Services: gateway_api (alias: gw) - Gateway API service mssql (alias: sql) - SQL Server database pgvector - PostgreSQL Vector database doc_loader - Document loader service gateway_tools (alias: gwtools) - Gateway tools service python_sandbox - Python sandbox service controller - Pragatix controller service llm (alias: vllm) - LLM server (vLLM) Examples: prgx logs # Show logs from all services (last 100 lines, follow) prgx gw logs # Show Gateway API logs (last 200 lines, follow) prgx gateway_api logs all # Show all Gateway API logs prgx gw logs aws # Show Gateway API logs filtered for 'aws' prgx gw logs error # Show Gateway API logs filtered for 'error' prgx gw getlog # Copy Gateway API logs to DebugData/gateway_api-YYYYMMDD-HHMMSS.log prgx sql logs # Show SQL Server logs prgx llm logs # Show LLM server logs prgx stats # Show container statistics prgx up # Start all services prgx gateway_api restart # Recreate Gateway API (picks up env changes) prgx debug # Start debug collector prgx debug 12345 # Debug specific prompt ID prgx images # Check Docker image status prgx images export # Export images for offline transfer prgx ui # Launch Docker TUI


/home/m/pragatix