create method

Future<void> create()

Creates the required C++ files to run in commandline mode. Note that existing C++ files in the windows\runner folder will be deleted unless --no-overwrite is passed

Implementation

Future<void> create() async {
  // run help and exit if help passed
  // and write specific help data
  if (_help(
      "Creates the required C++ files to run in commandline mode. Note that existing C++ files in the windows\\runner folder will be deleted")) {
    return;
  }

  // copy C++ code to project
  try {
    _copyAssetsToProject();
  } catch (err) {
    stderr.writeln(err.toString());
  }
}