forked from angular/angular-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathxi18n.ts
More file actions
19 lines (16 loc) · 687 Bytes
/
xi18n.ts
File metadata and controls
19 lines (16 loc) · 687 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// tslint:disable:no-global-tslint-disable file-header
import { ArchitectCommand, ArchitectCommandOptions } from '../models/architect-command';
import { CommandScope, Option } from '../models/command';
export default class Xi18nCommand extends ArchitectCommand {
public readonly name = 'xi18n';
public readonly target = 'extract-i18n';
public readonly description = 'Extracts i18n messages from source code.';
public readonly scope = CommandScope.inProject;
public readonly multiTarget: true;
public readonly options: Option[] = [
this.configurationOption,
];
public async run(options: ArchitectCommandOptions) {
return this.runArchitectTarget(options);
}
}