UNPKG

l7note

Version:

Access your notion notes quick

26 lines (21 loc) 756 B
import chalk from 'chalk'; import figlet from 'figlet'; import gradient from 'gradient-string'; const displayHelp = () => { figlet('L7 Notion CLI', (err, data) => { console.log(gradient.pastel.multiline(data)); console.log(` ${chalk.green('list [search]')}:\tDisplay all notes ${chalk.green('add [title] [-d decription] [-t taglist] ')}:\tCreate a new note ${chalk.green('remove [noteId]')}:\tRemove a note ${chalk.green('help')}:\tDisplay this text ${chalk.green( 'reset' )}:\tDeletes the config file to configure the programm with the next start ${chalk.green('config [itemName]')}:\tShows current configuration ${chalk.red( '!' )} includes token ${chalk.red('!')} `); }); }; export { displayHelp };