Skip to content

Commit

Permalink
Register command
Browse files Browse the repository at this point in the history
  • Loading branch information
Stian-Schikora committed Nov 8, 2023
1 parent 58402d0 commit 16a670c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -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() {
Expand Down

0 comments on commit 16a670c

Please sign in to comment.