[bisq-network/bisq] Remove read stdin loop (#4097)

Stan notifications at github.com
Fri Mar 27 15:40:30 UTC 2020


Replaced the Scanner input read loop with upgraded joptsimple
dependency. Cli now takes a single, non-option program argument, runs
it and exits.  Also removed the "stop client" command because there is
no input loop, but shutdown() is called for orderly channel shudown
before the jvm terminates.  Also changed cmd syntax from camel case
to lowercase, mimicking bitcoin-cli.

Configured logback to supress all debug & info level netty output, and
bypassed logback to print results to System.out.

<!-- 
- make yourself familiar with the CONTRIBUTING.md if you have not already (https://github.com/bisq-network/bisq/blob/master/CONTRIBUTING.md)
- make sure you follow our [coding style guidelines][https://github.com/bisq-network/style/issues)
- pick a descriptive title
- provide some meaningful PR description below
- create the PR
- in case you receive a "Change request" and/or a NACK, please react within 30 days. If not, we will close your PR and it can not be up for compensation.
- After addressing the change request, __please re-request a review!__ Otherwise we might miss your PR as we tend to only look at pull requests tagged with a "review required".
-->
You can view, comment on, or merge this pull request online at:

  https://github.com/bisq-network/bisq/pull/4097

-- Commit Summary --

  * Remove read stdin loop

-- File Changes --

    M build.gradle (3)
    M cli/src/main/java/bisq/cli/app/BisqCliMain.java (106)
    A cli/src/main/java/bisq/cli/app/CommandParser.java (27)
    M cli/src/main/resources/logback.xml (4)
    M gradle/witness/gradle-witness.gradle (2)

-- Patch Links --

https://github.com/bisq-network/bisq/pull/4097.patch
https://github.com/bisq-network/bisq/pull/4097.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/4097
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20200327/6d6808b9/attachment.html>


More information about the bisq-github mailing list