@autorest/powershell
Version:
AutoRest PowerShell Cmdlet Generator
24 lines • 865 B
TypeScript
import { AutorestExtensionHost as Host, JsonPointerSegments as JsonPath } from '@autorest/extension-base';
import { Project } from './project';
import { DeepPartial } from '@azure-tools/codegen';
import { PwshModel } from '../utils/PwshModel';
import { ModelState } from '../utils/model-state';
import { TspHost } from '../utils/tsp-host';
export interface GeneratorSettings {
azure: boolean;
cmdletFolder: string;
customFolder: string;
runtimeFolder: string;
moduleName: string;
csproj: string;
psd1: string;
psm1: string;
apiFolder: string;
}
export declare class State extends ModelState<PwshModel> {
project: Project;
constructor(service: Host | TspHost, objectInitializer?: DeepPartial<State>);
init(project?: Project): Promise<this>;
path(...childPath: JsonPath): this;
}
//# sourceMappingURL=state.d.ts.map