(args: CommonArgs)
| 18 | } |
| 19 | |
| 20 | export async function clearCache(args: CommonArgs) { |
| 21 | const { wallet, opts } = args; |
| 22 | if (opts.command) { |
| 23 | Object.assign(opts, command(args)); |
| 24 | } |
| 25 | await wallet.client.clearCache({ tokenAddress: opts.tokenAddress }); |
| 26 | prompt.log.success('Cache cleared.'); |
| 27 | }; |
nothing calls this directly
no test coverage detected