aboutsummaryrefslogtreecommitdiffstats
path: root/utils/scripts/map-sources.js
diff options
context:
space:
mode:
Diffstat (limited to 'utils/scripts/map-sources.js')
-rw-r--r--utils/scripts/map-sources.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/utils/scripts/map-sources.js b/utils/scripts/map-sources.js
new file mode 100644
index 0000000..3ce6bfb
--- /dev/null
+++ b/utils/scripts/map-sources.js
@@ -0,0 +1,9 @@
+const sorcery = require('sorcery');
+
+const argv = require('yargs')
+ .alias('f', 'file')
+ .argv;
+
+sorcery.load(argv.file).then(function (chain) {
+ chain.write();
+});