source: trip-planner-front/node_modules/@angular/cli/models/architect-command.d.ts@ 84d0fbb

Last change on this file since 84d0fbb was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 1.5 KB
Line 
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8import { Architect, Target } from '@angular-devkit/architect';
9import { WorkspaceNodeModulesArchitectHost } from '@angular-devkit/architect/node';
10import { json } from '@angular-devkit/core';
11import { BaseCommandOptions, Command } from './command';
12import { Arguments } from './interface';
13export interface ArchitectCommandOptions extends BaseCommandOptions {
14 project?: string;
15 configuration?: string;
16 prod?: boolean;
17 target?: string;
18}
19export declare abstract class ArchitectCommand<T extends ArchitectCommandOptions = ArchitectCommandOptions> extends Command<T> {
20 protected _architect: Architect;
21 protected _architectHost: WorkspaceNodeModulesArchitectHost;
22 protected _registry: json.schema.SchemaRegistry;
23 protected readonly useReportAnalytics = false;
24 protected multiTarget: boolean;
25 target: string | undefined;
26 missingTargetError: string | undefined;
27 initialize(options: T & Arguments): Promise<number | void>;
28 run(options: ArchitectCommandOptions & Arguments): Promise<number>;
29 protected runSingleTarget(target: Target, targetOptions: string[]): Promise<0 | 1>;
30 protected runArchitectTarget(options: ArchitectCommandOptions & Arguments): Promise<number>;
31 private getProjectNamesByTarget;
32 private _makeTargetSpecifier;
33}
Note: See TracBrowser for help on using the repository browser.