From 16a670c0ab4d47c22439e030d34fed5d89b22cbc Mon Sep 17 00:00:00 2001 From: SRS_ACN_DX Date: Wed, 8 Nov 2023 10:56:19 +0100 Subject: [PATCH] Register command --- src/extension.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/extension.ts b/src/extension.ts index 3ffc2a3..7edb1c5 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -1,7 +1,7 @@ // The module 'vscode' contains the VS Code extensibility API // Import the module and reference it with the alias vscode in your code below import * as vscode from 'vscode'; -import {openScratchOrg, sourcePushMetadata, importDummyData, generateLoginLink, sourcePullMetadata, createProject, assignDefaultPermsets, createScratchOrgJob, sourcePushMetadataJob, deployUnpackagableJob, openScratchOrgJob, importDummyDataJob, assignPermsetsJob, sfdxExportData, getScratchFromPool, sfdmuExport} from './commands/commands'; +import {openScratchOrg, sourcePushMetadata, importDummyData, generateLoginLink, sourcePullMetadata, createProject, assignDefaultPermsets, createScratchOrgJob, sourcePushMetadataJob, deployUnpackagableJob, openScratchOrgJob, importDummyDataJob, assignPermsetsJob, sfdxExportData, getScratchFromPool, sfdmuExport, sfdmuImport} from './commands/commands'; import { EXTENSION_CONTEXT } from './models'; import {inputUpdateDependencyKey, addDependency} from './commands/dependencyCommands'; import { installDependencies, installDependenciesJob } from './commands/packageCommands'; @@ -108,6 +108,10 @@ function registerOrgCommands(context: vscode.ExtensionContext) { context.subscriptions.push(vscode.commands.registerCommand('dxmate.sfdmuExport', (target: vscode.Uri) => { sfdmuExport(target); })); + + context.subscriptions.push(vscode.commands.registerCommand('dxmate.sfdmuImport', (target: vscode.Uri) => { + sfdmuImport(target); + })); } async function setupScratchOrg() {