Comparing version 6.3.0 to 6.3.1
13
cli.js
@@ -201,8 +201,9 @@ #!/usr/bin/env node | ||
var key = crypto.keyPair().publicKey.toString('hex') | ||
var cabal = createCabal(key) | ||
console.error(`created the cabal: ${chalk.greenBright('cabal://' + key)}`) // log to terminal output (stdout is occupied by interface) | ||
cabal.ready(function () { | ||
if (!args.seed) { | ||
start([cabal]) | ||
} | ||
createCabal(key).then(function (cabal) { | ||
console.error(`created the cabal: ${chalk.greenBright('cabal://' + key)}`) // log to terminal output (stdout is occupied by interface) | ||
cabal.ready(function () { | ||
if (!args.seed) { | ||
start([cabal]) | ||
} | ||
}) | ||
}) | ||
@@ -209,0 +210,0 @@ } else if (cabalKeys.length) { |
{ | ||
"name": "cabal-cli", | ||
"version": "6.3.0", | ||
"version": "6.3.1", | ||
"description": "p2p chat", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -11,3 +11,3 @@ # cabal-cli | ||
chat with us: | ||
`npx cabal --key cabal://14bc77d788fdaf07b89b28e9d276e47f2e44011f4adb981921056e1b3b40e99e` | ||
`npx cabal cabal://cabal-club.github.io` | ||
@@ -18,3 +18,3 @@ ## Installation | ||
$ npm install --global cabal | ||
$ cabal --key cabal://14bc77d788fdaf07b89b28e9d276e47f2e44011f4adb981921056e1b3b40e99e | ||
$ cabal --key cabal://0201400f1aa2e3076a3f17f4521b2cc41e258c446cdaa44742afe6e1b9fd5f82 | ||
``` | ||
@@ -34,3 +34,3 @@ | ||
``` | ||
cabal --key cabal://14bc77d788fdaf07b89b28e9d276e47f2e44011f4adb981921056e1b3b40e99e | ||
cabal --key cabal://0201400f1aa2e3076a3f17f4521b2cc41e258c446cdaa44742afe6e1b9fd5f82 | ||
``` | ||
@@ -37,0 +37,0 @@ |
1183
1184539