MCPcopy Create free account
hub / github.com/bitwarden/clients / constructor

Method constructor

apps/cli/src/tools/import.command.ts:28–35  ·  view source on GitHub ↗
(
    private importService: ImportServiceAbstraction,
    private organizationService: OrganizationService,
    private syncService: SyncService,
    private accountService: AccountService,
    private logService: LogService,
    private i18nService: I18nService,
  )

Source from the content-addressed store, hash-verified

26
27export class ImportCommand {
28 constructor(
29 private importService: ImportServiceAbstraction,
30 private organizationService: OrganizationService,
31 private syncService: SyncService,
32 private accountService: AccountService,
33 private logService: LogService,
34 private i18nService: I18nService,
35 ) {}
36
37 async run(format: ImportType, filepath: string, options: OptionValues): Promise<Response> {
38 const organizationId = options.organizationid;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected