Commit 6eb427b
authored
Remove duplicate cli required_else_help method (payjoin#637)
The payjoin-cli expects some args else it lists a help message for users
as a walk through for creating a new payjoin. There were some duplicate
functions that were causing some dev confusion so the duplicates were
removed.
I don't think we can get rid of all 4 instances of this method as we
still want the help command to show up if a user doesn't add any arg to
receive or send, just that these methods already don't work with
`--fee-rate` for example, just a warning is given.
This simply removes the unecessary methods, if we want to display the
help command if say `--fee-rate` is ommited we would need to restructure
the commands to allow for this.
closes payjoin#6361 file changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
151 | 150 | | |
152 | 151 | | |
153 | 152 | | |
| |||
159 | 158 | | |
160 | 159 | | |
161 | 160 | | |
162 | | - | |
163 | | - | |
| 161 | + | |
164 | 162 | | |
165 | 163 | | |
166 | 164 | | |
| |||
0 commit comments