git ssb

2+

Dominic / ssb-client



Tree: 87a65d74fc19501dc9c07b90c48108364bce60f3

Files: 87a65d74fc19501dc9c07b90c48108364bce60f3 / bin.js

325 bytesRaw
1#!/usr/bin/env node
2
3if (process.argv.length < 3) {
4 console.error('usage: ssb-client <module> [<args>]')
5 process.exit(1)
6}
7
8var ssbClient = require('.')
9var path = require('path')
10
11var app = require(path.resolve(process.argv[2]))
12
13ssbClient(function (err, sbot, config) {
14 if (err) throw err
15 app.init(sbot, config)
16})
17

Built with git-ssb-web