git ssb

2+

ev / mvd



Commit 681e521435f9dd59b02b5ce50698e75f412c9a0a

load network name using yargs

Ev Bogue committed on 4/28/2018, 5:19:14 PM
Parent: e3552ee1c934a68d659bfc5e61b86579de7fe17f

Files changed

bin.jschanged
config/inject.jschanged
bin.jsView
@@ -5,9 +5,9 @@
55 var open = require('opn')
66 var home = require('os-homedir')()
77 var nonPrivate = require('non-private-ip')
88 var muxrpcli = require('muxrpcli')
9-var yargs = require('yargs')
9 +var yargs = require('yargs').argv
1010
1111 var SEC = 1e3
1212 var MIN = 60*SEC
1313
config/inject.jsView
@@ -7,11 +7,8 @@
77 var SEC = 1e3
88 var MIN = 60*SEC
99
1010 module.exports = function (name, override) {
11- if(name == null)
12- name = 'decent'
13-
1411 console.log('Using the ' + name + ' config')
1512
1613 var network
1714

Built with git-ssb-web