1 |
|
2 | (function() {
|
3 | var annotate, conf, di, fileName, fromConfig, path;
|
4 |
|
5 | fromConfig = require('..').fromConfig;
|
6 |
|
7 | annotate = require('../tools').annotate;
|
8 |
|
9 | fileName = process.argv[2];
|
10 |
|
11 | path = [process.cwd(), fileName].join('/');
|
12 |
|
13 | conf = require(path);
|
14 |
|
15 | di = fromConfig({
|
16 | config: conf
|
17 | });
|
18 |
|
19 | annotate(di, process.stdout);
|
20 |
|
21 | }).call(this);
|