helpGlobal static method

String helpGlobal({
  1. required String executable_name,
  2. required List<String> commands,
})

UncompleteDocumentation

Implementation

static String helpGlobal(
    {required String executable_name, required List<String> commands}) {
  return """
General Framework.

Usage: ${executable_name} <command> [arguments]

Global options:
help                 Print this usage information.
version              Print version.

Available commands:
create     Create a new Dart project.
list_template list template
setup
init

Run "glx help <command>" for more information about a command.
${GeneralFrameworkCli.seeYoutubeForDocumentOrTutorial()}

${GeneralFrameworkCli.watermark()}

Commands:
- ${commands.join("\n- ")}
"""
      .trim();
}