Files: b3e2feb620b8617e72d7d07a600aea220c8b0992 / bin.js
367 bytesRaw
1 | |
2 | |
3 | const combine = require('depject') |
4 | const entry = require('depject/entry') |
5 | |
6 | const configModule = require('./config') |
7 | const coreModules = require('./modules') |
8 | |
9 | const sockets = combine( |
10 | configModule, |
11 | coreModules |
12 | // TODO app and config modules... |
13 | ) |
14 | |
15 | const api = entry(sockets, { |
16 | cli: { export: 'first' } |
17 | }) |
18 | |
19 | const cli = api.cli.export |
20 | |
21 | cli() |
22 |
Built with git-ssb-web