export function registerCommands()

in src/commands/registerCommands.ts [49:94]


export function registerCommands(): void {
    registerCommand('appService.AddAzureDatabasesConnection', addCosmosDBConnection);
    registerCommand('appService.appSettings.Add', addAppSetting);
    registerCommand('appService.appSettings.Delete', deleteAppSetting);
    registerCommand('appService.appSettings.Download', downloadAppSettings);
    registerCommand('appService.appSettings.Edit', editAppSetting);
    registerCommand('appService.appSettings.Rename', renameAppSetting);
    registerCommand('appService.appSettings.ToggleSlotSetting', toggleSlotSetting);
    registerCommand('appService.appSettings.Upload', uploadAppSettings);
    registerCommand('appService.Browse', browseWebsite);
    registerCommand('appService.ConfigureDeploymentSource', editScmType);
    registerCommand('appService.connectToGitHub', connectToGitHub);
    registerCommand('appService.CreateSlot', createSlot);
    registerCommand('appService.CreateWebApp', createWebApp);
    registerCommand('appService.CreateWebAppAdvanced', createWebAppAdvanced);
    registerCommand('appService.Delete', deleteWebApp);
    registerCommand('appService.DeploymentScript', generateDeploymentScript);
    registerCommand('appService.DisconnectRepo', disconnectRepo);
    registerCommand('appService.EnableFileLogging', enableFileLogging);
    registerCommand('appService.InstallCosmosDBExtension', installCosmosDBExtension);
    registerCommand('appService.LoadMore', async (actionContext: IActionContext, node: AzExtTreeItem) => await ext.tree.loadMore(node, actionContext));
    registerCommand('appService.openFile', showFile, 500);
    registerCommand('appService.OpenInPortal', openInPortal);
    registerCommand('appService.Refresh', async (actionContext: IActionContext, node?: AzExtTreeItem) => await ext.tree.refresh(actionContext, node));
    registerCommand('appService.RemoveCosmosDBConnection', removeCosmosDBConnection);
    registerCommand('appService.Restart', restartWebApp);
    registerCommand('appService.RevealConnection', revealConnection);
    registerCommand('appService.RevealConnectionInAppSettings', revealConnectionInAppSettings);
    registerCommand('appService.ScaleUp', async (_context: IActionContext, node: DeploymentSlotsNATreeItem | ScaleUpTreeItem) => await uiOpenInPortal(node, node.scaleUpId));
    registerCommand('appService.selectSubscriptions', () => commands.executeCommand("azure-account.selectSubscriptions"));
    registerCommand('appService.showOutputChannel', () => { ext.outputChannel.show(); });
    registerCommand('appService.Start', startWebApp);
    registerCommand('appService.StartRemoteDebug', startRemoteDebug);
    registerCommand('appService.StartSsh', startSsh);
    registerCommand('appService.startStreamingLogs', startStreamingLogs);
    registerCommand('appService.Stop', stopWebApp);
    registerCommand('appService.StopLogStream', stopStreamingLogs);
    registerCommand('appService.SwapSlots', swapSlots);
    registerCommand('appService.toggleAppSettingVisibility', async (actionContext: IActionContext, node: AppSettingTreeItem) => { await node.toggleValueVisibility(actionContext); }, 250);
    registerCommand('appService.ViewCommitInGitHub', viewCommitInGitHub);
    registerCommand('appService.ViewProperties', viewProperties);
    registerSiteCommand('appService.Deploy', deploy);
    registerSiteCommand('appService.DeploySlot', deploySlot);
    registerSiteCommand('appService.Redeploy', redeployDeployment);
    registerSiteCommand('appService.viewDeploymentLogs', viewDeploymentLogs);
}