run function

Future<int> run(
  1. List<String> args
)

Implementation

Future<int> run(List<String> args) async {
  try {
    return await AlexCommandRunner().run(args) ?? 2;
  } on UsageException catch (e, st) {
    print.exception(e, st);
    return 64;
  } catch (e, st) {
    print.exception(e, st);
    return -1;
  }
}