diff --git a/src/main.tsx b/src/main.tsx index df2f39844..b43794b24 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -6656,6 +6656,16 @@ async function run(): Promise { }); } + // Cloud command - manage cs-cloud daemon (download binary + forward commands) + program + .command('cloud [args...]', { noHelp: true }) + .description('Manage cloud daemon (register device and connect via WebSocket tunnel)') + .allowUnknownOption() + .action(async (args: string[]) => { + const { cloudHandler } = await import('./cli/handlers/cloud.js'); + await cloudHandler(args); + }); + // Update command - check and install updates program .command('update')