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:
868 bytes
|
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 | */
|
---|
8 | import { analytics, logging } from '@angular-devkit/core';
|
---|
9 | import { AngularWorkspace } from '../utilities/config';
|
---|
10 | export interface CommandMapOptions {
|
---|
11 | [key: string]: string;
|
---|
12 | }
|
---|
13 | /**
|
---|
14 | * Run a command.
|
---|
15 | * @param args Raw unparsed arguments.
|
---|
16 | * @param logger The logger to use.
|
---|
17 | * @param workspace Workspace information.
|
---|
18 | * @param commands The map of supported commands.
|
---|
19 | * @param options Additional options.
|
---|
20 | */
|
---|
21 | export declare function runCommand(args: string[], logger: logging.Logger, workspace: AngularWorkspace | undefined, commands?: CommandMapOptions, options?: {
|
---|
22 | analytics?: analytics.Analytics;
|
---|
23 | currentDirectory: string;
|
---|
24 | }): Promise<number | void>;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.