OnBeforeRunCommand typedef

  1. @Deprecated('see addMiddleware instead')
OnBeforeRunCommand = Future<void> Function(BetterCommandRunner<OptionDefinition, dynamic> runner)

A function type for executing code before running a command.

Implementation

@Deprecated('see addMiddleware instead')
typedef OnBeforeRunCommand = Future<void> Function(BetterCommandRunner runner);