Created
September 4, 2019 14:40
-
-
Save jaguilar87/2e6dfe76a09bfe71f033e6f588079638 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const symbols = { | |
info: ['ℹ', 'i'], | |
success: ['✔', '√'], | |
warning: ['!', '!'], | |
error: ['✖', 'x'], | |
bullet: ['⁎', '*'], | |
build: ['🛠', '* '], | |
in: ['📥', '>> '], | |
out: ['📥', '<< '], | |
redirect: ['↩', '><'], | |
megaphone: ['📣', '> '], | |
guitar: ['🎸', '> '], | |
greenLight: ['੦', 'o'], | |
yellowLight: ['੦', 'o'], | |
redLight: ['੦', 'o'], | |
child: ['└', '└'] | |
}; | |
for (const symbol of Object.keys(symbols)) { | |
const minLength = 20; | |
const arr = symbols[symbol]; | |
const name = symbol + ' '.repeat(minLength - symbol.length); | |
console.log(name, '\t', arr[0], '\t', arr[1]); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment