Files
azuredatastudio/extensions/cms/src/cmsResource/commands.ts
Anthony Dresser ef0a92d83f Add compile options to a few extensions (#8252)
* add compile options to a few extensions

* move dep to dev dep

* fix return types
2019-11-07 11:41:31 -08:00

25 lines
1.1 KiB
TypeScript

/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the Source EULA. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { AppContext } from '../appContext';
import { CmsResourceTreeProvider } from './tree/treeProvider';
import {
registerCmsServerCommand, deleteCmsServerCommand,
addRegisteredServerCommand, deleteRegisteredServerCommand,
deleteServerGroupCommand, addServerGroupCommand, refreshCommand
} from './cmsResourceCommands';
export function registerCmsResourceCommands(appContext: AppContext, tree: CmsResourceTreeProvider): void {
registerCmsServerCommand(appContext, tree);
deleteCmsServerCommand(appContext, tree);
addRegisteredServerCommand(appContext, tree);
deleteRegisteredServerCommand(appContext, tree);
addServerGroupCommand(appContext, tree);
deleteServerGroupCommand(appContext, tree);
refreshCommand(appContext, tree);
}