angular-docs-cn/scripts/build/map_sources.js

14 lines
223 B
JavaScript

var path = require('path');
var sorcery = require('sorcery');
var yargs = require('yargs');
var argv = require('yargs')
.alias('f', 'file')
.argv;
sorcery.load(argv.file).then(function(chain) {
chain.write();
});