forked from Cutlery/immich
* import dockerfile from old cli * build works * rename login command * bump packages * fix login command * chore: remove axios dependency from CLI * move immich script path * can build docker * wip * wip * don't externalize sdk * can run docker * improve entrypoint * can save auth state between runs * add docs * clarify reqs * fix lint * bump alpine to 3.19 * add env files for api key * remove immich cli GHA for now * Update docs/docs/features/command-line-interface.md Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com> * remove redundant env variable check * cleanup * speling --------- Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
8 lines
232 B
TypeScript
8 lines
232 B
TypeScript
import { BaseCommand } from './base-command';
|
|
|
|
export class LoginCommand extends BaseCommand {
|
|
public async run(instanceUrl: string, apiKey: string): Promise<void> {
|
|
await this.sessionService.login(instanceUrl, apiKey);
|
|
}
|
|
}
|