feat: implement oauth with remote server

This commit is contained in:
Ralph Khreish
2025-09-02 23:32:40 +02:00
parent 930652e523
commit 88105b7f37
13 changed files with 413 additions and 119 deletions

View File

@@ -108,6 +108,12 @@ export class AuthCommand extends Command {
if (!result.success) {
process.exit(1);
}
// Exit cleanly after successful authentication
// Small delay to ensure all output is flushed
setTimeout(() => {
process.exit(0);
}, 100);
} catch (error: any) {
this.handleError(error);
process.exit(1);