|
76 | 76 | Name: "verbose, v",
|
77 | 77 | Usage: "show expanded details",
|
78 | 78 | }
|
| 79 | + |
| 80 | + commands = []cli.Command{ |
| 81 | + loopOutCommand, loopInCommand, termsCommand, |
| 82 | + monitorCommand, quoteCommand, listAuthCommand, fetchL402Command, |
| 83 | + listSwapsCommand, swapInfoCommand, getLiquidityParamsCommand, |
| 84 | + setLiquidityRuleCommand, suggestSwapCommand, setParamsCommand, |
| 85 | + getInfoCommand, abandonSwapCommand, reservationsCommands, |
| 86 | + instantOutCommand, listInstantOutsCommand, |
| 87 | + } |
79 | 88 | )
|
80 | 89 |
|
81 | 90 | const (
|
@@ -142,15 +151,7 @@ func main() {
|
142 | 151 | tlsCertFlag,
|
143 | 152 | macaroonPathFlag,
|
144 | 153 | }
|
145 |
| - app.Commands = []cli.Command{ |
146 |
| - loopOutCommand, loopInCommand, termsCommand, |
147 |
| - monitorCommand, quoteCommand, listAuthCommand, fetchL402Command, |
148 |
| - listSwapsCommand, swapInfoCommand, getLiquidityParamsCommand, |
149 |
| - setLiquidityRuleCommand, suggestSwapCommand, setParamsCommand, |
150 |
| - getInfoCommand, abandonSwapCommand, reservationsCommands, |
151 |
| - instantOutCommand, listInstantOutsCommand, |
152 |
| - staticAddressCommands, |
153 |
| - } |
| 154 | + app.Commands = commands |
154 | 155 |
|
155 | 156 | err := app.Run(os.Args)
|
156 | 157 | if err != nil {
|
|
0 commit comments