run method

  1. @override
FutureOr? run()
override

Runs this command.

The return value is wrapped in a Future if necessary and returned by CommandRunner.runCommand.

Implementation

@override
FutureOr? run() {
  String? appId = argResults?.arguments.last;

  if (appId == null) {
    logger.i('No appId specified.');
    return null;
  }

  CyflOemApp.create(
    appId: appId,
  );
}