MCPcopy Create free account
hub / github.com/bitpay/bitcore / goodbye

Method goodbye

packages/bitcore-cli/src/utils.ts:30–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28 }
29
30 static goodbye() {
31 const funMessages = [
32 'Until next time!',
33 'Keep calm and HODL on!',
34 'Goodbye!',
35 'Cheers!',
36 'Goodbye, and may your transactions always confirm quickly!',
37 'Thanks for using Bitcore CLI!',
38 'Adiós!', // Spanish
39 'Ciao!', // Italian (informal)
40 'Arrivederci!', // Italian (formal)
41 'Tchau!', // Portuguese
42 'Salut!', // French (informal)
43 'Au revoir!', // French (formal)
44 'Tschüss!', // German (informal)
45 'Auf Wiedersehen!', // German (formal)
46 'さようなら (Sayōnara)!', // Japanese
47 'до свидания (Do svidaniya)!', // Russian (formal)
48 'пока (Poka)!', // Russian (informal)
49 'Aloha!', // Hawaiian
50 '안녕히 가세요 (Annyeonghi gaseyo)!', // Korean
51 '再见 (Zàijiàn)!', // Chinese/Mandarin
52 ];
53 const randomMessage = funMessages[Math.floor(Math.random() * funMessages.length)];
54 console.log('👋 ' + randomMessage);
55 }
56
57 static getWalletFileName(walletName, dir) {
58 return path.join(dir, walletName + '.json');

Callers 3

utils.test.tsFile · 0.80
dieMethod · 0.80
cli.tsFile · 0.80

Calls 1

logMethod · 0.80

Tested by

no test coverage detected