()
| 44 | } |
| 45 | |
| 46 | private setPrompt() { |
| 47 | this.rl.setPrompt( |
| 48 | `${ |
| 49 | this.currentWallet |
| 50 | ? this.currentWallet.config.symbol + |
| 51 | this.currentWallet.config.network + |
| 52 | " " + |
| 53 | this.currentWallet.accoutIndex |
| 54 | : "" |
| 55 | }> ` |
| 56 | ); |
| 57 | } |
| 58 | |
| 59 | private async processCommand(line: string) { |
| 60 | const args = line.match(/(?:[^\s"]+|"[^"]*")+/g) || []; |
no outgoing calls
no test coverage detected