zold
zold copied to clipboard
Commands’ help is not indented properly (hence unreadable)
Every single command has improperly aligned help banner: https://github.com/zold-io/zold/blob/master/lib/zold/commands/pay.rb#L43-L49
It doesn’t make sense and it’s hard to read. (And it’s not just my opinion.)
I inquired about what’s the minimal Ruby version we support. Assuming it’s 2.3 which has the squiggly heredoc, we can just do:
o.banner = <<~BANNER
Usage: zold pay wallet target amount [details] [options]
Where:
'wallet' is the sender's wallet ID
'target' is the beneficiary (either wallet ID or invoice number)'
'amount' is the amount to pay, in ZLD, for example '14.95'
'details' is the optional text to attach to the payment
Available options:
BANNER
This will remove the whitespace used for indentation. In my opinion this is much more readable alternative.
@yegor256/z please, pay attention to this issue
@botanicus totally agree, thanks for the suggestion
Job #320 is now in scope, role is DEV
@yegor256 may I have this ticket please?
@0crat assign @botanicus
@0crat assign @botanicus (here)
@yegor256 The job #320 assigned to @botanicus/z, here is why; the budget is 30 minutes, see §4; please, read §8 and §9; if the task is not clear, read this and this; there will be a monetary reward for this job
It is strongly discouraged to assign jobs to their creators, see §19: -15 point(s) just awarded to @yegor256/z
@0crat wait