MCPcopy Index your code
hub / github.com/NoteProtocol/NoteWallet / setPrompt

Method setPrompt

src/command-line.ts:46–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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) || [];

Callers 2

processCommandMethod · 0.95
startReplMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected