run method

dynamic run()

Implementation

run() async {
  if (argsRequired && args == null) {
    // Get.snackbar(
    //     "Validation Error", "Additional arguments required for this command");
    // throw AppException("Additional args required for this command: $command");
  } else if (pathRequired && (path == null || path == "")) {
    // throw AppException("Path required for this command");
    // Get.snackbar("Validation Error", "Path value required for this command");
  } else {
    return await super.exec(command, external: external, path: path);
  }
}