-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Description
Summary
The CLI argument parser exists in cli/main.py but all commands return "not yet implemented". Need to implement actual functionality.
Current State
# cli/main.py:68
print(f"Command '{args.command}' not yet implemented")
return 1Commands to Implement
Core Commands
-
egg start- Start gateway + sandbox containers--config <path>- Config file location--private- Enable private network mode-p/--prompt- Run with prompt in non-interactive mode
-
egg stop- Stop running containers -
egg status- Show container health and status
Utility Commands
-
egg exec <cmd>- Execute command inside sandbox -
egg logs [--follow]- View container logs -
egg config validate- Validate configuration files
Implementation Notes
Commands should:
- Load configuration from egg.yaml
- Manage Docker containers (start/stop/exec)
- Handle network setup (public vs private mode)
- Provide clear error messages
Dependencies
- Requires Port container and deployment files from gateway-sidecar #27 (container files) to be completed first
- Requires Port network isolation configuration (Squid proxy) #28 (network configs) for private mode
Acceptance Criteria
-
egg startlaunches gateway and sandbox containers -
egg stopcleanly shuts down containers -
egg statusshows running state and health -
egg execruns commands in sandbox -
egg logsstreams container output - Error handling for missing Docker, config errors, etc.
Context
From codebase audit - this is Phase 4 in PR #693 implementation plan.
Authored-by: jib
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels