1 | const clear = require('clear')
|
2 | const chalk = require('chalk')
|
3 | const figlet = require('figlet')
|
4 |
|
5 | module.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 | }
|