run method

FutureOr<int>? run()
inherited

Runs this command.

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

Implementation

FutureOr<T>? run() {
  throw UnimplementedError(_wrap('Leaf command $this must implement run().'));
}