mirror of
https://github.com/immich-app/immich.git
synced 2026-02-04 08:49:01 +03:00
10 lines
291 B
TypeScript
10 lines
291 B
TypeScript
import { BaseCommand } from '../../cli/base-command';
|
|
|
|
export class LoginKey extends BaseCommand {
|
|
public async run(instanceUrl: string, apiKey: string): Promise<void> {
|
|
console.log('Executing API key auth flow...');
|
|
|
|
await this.sessionService.keyLogin(instanceUrl, apiKey);
|
|
}
|
|
}
|