mirror of
https://github.com/immich-app/immich.git
synced 2025-11-09 00:06:43 -05:00
14 lines
352 B
TypeScript
14 lines
352 B
TypeScript
import { BaseCommand } from '../cli/base-command';
|
|
|
|
export class Logout extends BaseCommand {
|
|
public static readonly description = 'Logout and remove persisted credentials';
|
|
|
|
public async run(): Promise<void> {
|
|
console.log('Executing logout flow...');
|
|
|
|
await this.sessionService.logout();
|
|
|
|
console.log('Successfully logged out');
|
|
}
|
|
}
|