You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
722 B
20 lines
722 B
"use strict";
|
|
const schematic_command_1 = require("@angular/cli/models/schematic-command");
|
|
let command = new schematic_command_1.SchematicCommand({}, null);
|
|
let engineHost = command.getEngineHost();
|
|
const schematicsProvider = Promise.resolve({
|
|
getCollection(collectionName) {
|
|
return command.getCollection(collectionName);
|
|
},
|
|
listSchematics(collection) {
|
|
return engineHost.listSchematics(collection);
|
|
},
|
|
getSchematic(collection, schematicName, allowPrivate) {
|
|
return command.getSchematic(collection, schematicName, allowPrivate);
|
|
},
|
|
getDefaultSchematicCollection() {
|
|
return command.getDefaultSchematicCollection();
|
|
}
|
|
});
|
|
module.exports = schematicsProvider;
|