UNPKG

371 BJavaScriptView Raw
1const clear = require('clear')
2const chalk = require('chalk')
3const figlet = require('figlet')
4
5module.exports = (clearfix = true, cachedMessagesCount = 0) => {
6 if (clearfix) {
7 clear()
8 }
9 console.log(
10 chalk.cyan(
11 figlet.textSync('gmail-cli', { horizontalLayout: 'full' })
12 )
13 )
14 console.log(chalk.dim('Cached messages: ' + cachedMessagesCount))
15}