UNPKG

app-overview

Version:

> A visualization of the application structure. See, read & learn the code, effortlessly.

42 lines (29 loc) 965 B
const chalk = require("chalk"); const asciimo = require("../node_modules/asciimo/lib/asciimo").Figlet; const colors = require("../node_modules/asciimo/lib/colors"); const log = console.log; const text = "OVERVIEW"; module.exports = { menu: () => { asciimo.write(text, "isometric1", art => { log(art.cyan); log(` ${chalk.dim("creates a visual file for your application structure - v1.0.7")} ${chalk.dim("Entry")} ${chalk.green( "$ overview <entry>" )} Declare entry point for the visualization ${chalk.magenta.bold( "required first" )} ${chalk.dim("Reset")} ${chalk.green("<reset>")} ${chalk.cyan("[-r]")} Reset + delete visual folder ${chalk.dim("Path")} ${chalk.green("<path>")} ${chalk.cyan( "[-p]" )} View the current path for the entry file ${chalk.dim("Help")} ${chalk.green("<help>")} ${chalk.cyan("[-h]")} Further detailing on options `); }); } };