How to use figlet

Comprehensive figlet code examples:

How to use figlet.default:

398
399
400
401
402
403
404
405
406
407
    console.log(chalk_1.default.black(figlet_1.default.textSync('Star Wars', { horizontalLayout: 'full' })), '\n', chalk_1.default.red('MAY THE FORCE BE WITH YOU! SECURITY CHECKS ARE DISABLED! YOU SHOULD KNOW WHAT YOU ARE DOING!'));
}
exports.star_wars = star_wars;
function game_over() {
    return ('\n' +
        figlet_1.default.textSync('Game Over', { horizontalLayout: 'full' }) +
        '\n Wrong password for using a --force! It would help if you did not use this option. Incident reported.');
}
exports.game_over = game_over;
function load_package(options) {

How to use figlet.textSync:

20
21
22
23
24
25
26
27
28
29
30
  });


program.on("--help", () => {
  // 使用 figlet 绘制 Logo
  console.log(
    figlet.textSync("WJX  CLI", {
      font: "Standard",
      horizontalLayout: "fitted",
      verticalLayout: "default",
      width: 80,