runCustomCommand method

Future<bool> runCustomCommand(
  1. String command
)

Implementation

Future<bool> runCustomCommand(String command) async {
  try {
    final shell = Shell();
    await shell.run(command);
    return true;
  } catch (e) {
    _cliHelper.printError('Error running command: $e');
    return false;
  }
}