CommandRunFunction<O extends OptionDefinition, T> typedef

CommandRunFunction<O extends OptionDefinition, T> = FutureOr<T?> Function(CommandContext<O, T> context)

The type of the Command.run method.

Implementation

typedef CommandRunFunction<O extends OptionDefinition, T> =
    FutureOr<T?> Function(CommandContext<O, T> context);