mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-02-03 22:18:39 +00:00
Create separate file for upgrade command handling to improve code organization. Add UpgradeCommand struct with Upgrade method that includes all original logic: channel management, service restart, rollback handling, and version verification. Includes InitUpgradeCmd function with proper argument validation and privilege checks.