temp: provide a handler to logout

This commit is contained in:
Levi Yan
2025-03-24 10:12:33 +08:00
parent 000749f7d9
commit 72e94ceea8
2 changed files with 12 additions and 8 deletions

View File

@@ -96,7 +96,10 @@ export class DevStarExtension {
context.subscriptions.push(
vscode.commands.registerCommand('devstar.showHome', (url: string) =>
this.dsHome.toggle(url)
)
),
vscode.commands.registerCommand('devstar.logout', () => {
this.user.logout()
})
);
}
}