printHelpText method

void printHelpText()

Implementation

void printHelpText() {
  final String name = "Welcome to MajesticUI (1.0.6)";
  final String description =
      "A CLI tool for adding beautiful, tested and reliable widgets to your Flutter project.";
  final String usage = "";

  // Printing part
  print("\n");
  print(chalk.greenBright.bold("Welcome to MajesticUI (1.0.6)"));
  print(chalk.greenBright(description));

  // Description
  print("\n");
  print(chalk.yellow("Usage: magestic_ui <command> [arguments]"));

  print("\n");
  print(chalk.yellow.bold("Available Commands:\n"));
  print(chalk
      .yellow("add   Add one or more components to your Flutter project."));
  print(chalk.yellow("help  Help Command."));
  print(chalk.yellow("docs  Launch documentation at majesticui.com"));

  print("\n");
}