[bisq-network/bisq] Remove read stdin loop (#4097)
Chris Beams
notifications at github.com
Mon Mar 30 17:23:17 UTC 2020
@cbeams commented on this pull request.
> + // Option name constants
+ static final String HELP = "help";
+ static final String GETBALANCE = "getbalance";
+ static final String GETVERSION = "getversion";
+ static final String STOPSERVER = "stopserver";
+
+ OptionParser configure() {
+ OptionParser parser = new OptionParser();
+ parser.allowsUnrecognizedOptions();
+ parser.nonOptions(GETBALANCE).ofType(String.class).describedAs("get btc balance");
+ parser.nonOptions(GETVERSION).ofType(String.class).describedAs("get bisq version");
+ return parser;
+ }
+
+ static void printUsage() {
+ err.println("Usage: bisq-cli getbalance | getversion");
Ok, that's fine then. We can come back to it later, thanks.
--
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#discussion_r400362977
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20200330/c22dac2f/attachment.html>
More information about the bisq-github
mailing list