UNPKG

l7note

Version:

Access your notion notes quick

25 lines (23 loc) 1.21 kB
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.displayHelp = void 0; const chalk_1 = __importDefault(require("chalk")); const figlet_1 = __importDefault(require("figlet")); const gradient_string_1 = __importDefault(require("gradient-string")); const displayHelp = () => { (0, figlet_1.default)('L7 Notion CLI', (err, data) => { console.log(gradient_string_1.default.pastel.multiline(data)); console.log(` ${chalk_1.default.green('list [search]')}:\tDisplay all notes ${chalk_1.default.green('add [title] [-d decription] [-t taglist] ')}:\tCreate a new note ${chalk_1.default.green('remove [noteId]')}:\tRemove a note ${chalk_1.default.green('help')}:\tDisplay this text ${chalk_1.default.green('reset')}:\tDeletes the config file to configure the programm with the next start ${chalk_1.default.green('config [itemName]')}:\tShows current configuration ${chalk_1.default.red('!')} includes token ${chalk_1.default.red('!')} `); }); }; exports.displayHelp = displayHelp;