Files: b46e0b142a1031b865be6f4aa908bb84a8354dc2 / 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