<p></p>
<p><b>@ghubstan</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/bisq-network/bisq/pull/4308#discussion_r443670459">cli/src/main/java/bisq/cli/CliMain.java</a>:</p>
<pre style='color:#555'>> +                    out.println(reply.getFundingAddressesInfo());
+                    return;
+                }
+                case createpaymentacct: {
+                    if (nonOptionArgs.size() < 2)
+                        throw new IllegalArgumentException("no account name specified");
+
+                    var accountName = nonOptionArgs.get(1);
+
+                    if (nonOptionArgs.size() < 3)
+                        throw new IllegalArgumentException("no account number specified");
+
+                    var accountNumber = nonOptionArgs.get(2);
+
+                    if (nonOptionArgs.size() < 4)
+                        throw new IllegalArgumentException("no fiat currency specified");
</pre>
<p>The original motivation for doing it this way was to keep it as simple as possible because this is/was <em>a reference implementation only</em>, to show others how to build their own gRPC CLI.  This isn't the final word on the issue, so let's leave it open.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/bisq/pull/4308#discussion_r443670459">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNVSOYKQOPV6HH4FB5DRX56YVANCNFSM4N6MWJDQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNTACYSJ6U7WRQPN4LTRX56YVA5CNFSM4N6MWJD2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGODHXK2VY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/pull/4308#discussion_r443670459",
"url": "https://github.com/bisq-network/bisq/pull/4308#discussion_r443670459",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>