#!/usr/bin/env node var u = require('../lib/util') var config = require('ssb-config/inject')(u.getAppName()) var fn = require('../lib').fn try { fn(config) } catch (e) { console.error(e instanceof Error ? e.stack : e) process.exit(1) }