feat(drone): README and drone.py updates
Co-Authored-By: @drone <drone@aipass>
This commit is contained in:
@@ -97,6 +97,7 @@ drone/
|
||||
│ │ ├── discovery.py # Module and command discovery
|
||||
│ │ ├── module_registry.py # Internal module routing
|
||||
│ │ ├── commands.py # Custom command shortcut orchestrator
|
||||
│ │ ├── git_module.py # Git workflow (PR, status, sync, lock)
|
||||
│ │ └── scan.py # Branch command scanning
|
||||
│ └── handlers/ # Implementation
|
||||
│ ├── executor.py # Safe subprocess execution
|
||||
|
||||
@@ -169,9 +169,9 @@ def _handle_module(name: str, args: List[str]) -> int:
|
||||
return 1
|
||||
|
||||
if result.get("stdout"):
|
||||
print(result["stdout"], end="")
|
||||
console.print(result["stdout"], end="", highlight=False)
|
||||
if result.get("stderr"):
|
||||
print(result["stderr"], end="", file=sys.stderr)
|
||||
err_console.print(result["stderr"], end="", highlight=False)
|
||||
return result.get("exit_code", 0)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user