@azure-tools/extension
Version:
Yarn-Based extension aquisition (for Azure Open Source Projects)
32 lines • 957 B
TypeScript
/// <reference types="node" />
import { ChildProcess } from "child_process";
import { Package } from "./package";
/**
* Extension is an installed Package
* @extends Package
* */
export declare class Extension extends Package {
private installationPath;
/**
* The installed location of the package.
*/
get location(): string;
/**
* The path to the installed npm package (internal to 'location')
*/
get modulePath(): string;
/**
* the path to the package.json file for the npm packge.
*/
get packageJsonPath(): string;
/**
* the path to the readme.md configuration file for the extension.
*/
get configurationPath(): Promise<string>;
/** the loaded package.json information */
get definition(): any;
get configuration(): Promise<string>;
remove(): Promise<void>;
start(enableDebugger?: boolean): Promise<ChildProcess>;
}
//# sourceMappingURL=extension.d.ts.map