noParameters method

void noParameters()

Implementation

void noParameters() {
  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.brightRed("It seems you forgot to provide a component name."),
  );

  // Suggestion
  print("\n");
  print(
    chalk.yellow("Try writing:"),
  );
  print(chalk.brightGreen("majestic_ui add star_rush_background"));

  print("\n");
  // Docs
  print(
    chalk.yellow(
        "Check out the documentation by running the command: majestic_ui docs"),
  );

  print("\n");
}