mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-31 01:25:38 -05:00
* Add switches for server, database, user, integrated auth * Refactor into new commandline service * Open query editor when passed server on command line * Add tests
17 lines
796 B
TypeScript
17 lines
796 B
TypeScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
|
|
'use strict';
|
|
import { createDecorator } from 'vs/platform/instantiation/common/instantiation';
|
|
export interface ICommandLineProcessing {
|
|
_serviceBrand: any;
|
|
/**
|
|
* Interprets the various Azure Data Studio-specific command line switches and
|
|
* performs the requisite tasks such as connecting to a server
|
|
*/
|
|
processCommandLine() : void;
|
|
}
|
|
|
|
export const ICommandLineProcessing = createDecorator<ICommandLineProcessing>('commandLineService'); |