Merge branch 'master' of github.com:fraction/oasis into mediator

This commit is contained in:
Christian Bundy
2020-01-09 09:26:17 -08:00
9 changed files with 121 additions and 57 deletions

View File

@ -6,12 +6,19 @@ module.exports = () =>
yargs
.scriptName('oasis')
.env('OASIS')
.help('h')
.alias('h', 'help')
.usage('Usage: $0 [options]')
.options('open', {
describe: 'Automatically open app in web browser',
describe: 'Automatically open app in web browser. Use --no-open to disable.',
default: true,
type: 'boolean'
})
.options('offline', {
describe: "Don't try to connect to scuttlebutt peers or pubs",
default: false,
type: 'boolean'
})
.options('host', {
describe: 'Hostname for web app to listen on',
default: 'localhost',