Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/extensions/copilot/src/platform/commands/common/runCommandExecutionService.ts
13401 views
1
/*---------------------------------------------------------------------------------------------
2
* Copyright (c) Microsoft Corporation. All rights reserved.
3
* Licensed under the MIT License. See License.txt in the project root for license information.
4
*--------------------------------------------------------------------------------------------*/
5
6
import { createServiceIdentifier } from '../../../util/common/services';
7
8
export const IRunCommandExecutionService = createServiceIdentifier<IRunCommandExecutionService>('IRunCommandExecutionService');
9
10
export interface IRunCommandExecutionService {
11
readonly _serviceBrand: undefined;
12
13
executeCommand(command: string, ...args: any[]): Promise<any>;
14
}
15
16