afAppCommandMain function
Future<void>
afAppCommandMain({
- required AFArgs args,
- required AFDartParams paramsDart,
- required AFExtendBaseDelegate installBase,
- required AFExtendCommandsDelegate installCommand,
- required AFExtendBaseDelegate installBaseLibrary,
- required AFExtendCommandsLibraryDelegate installCommandLibrary,
The function called from your bin/xxx_afib.dart file.
Implementation
Future<void> afAppCommandMain({
required AFArgs args,
required AFDartParams paramsDart,
required AFExtendBaseDelegate installBase,
required AFExtendCommandsDelegate installCommand,
required AFExtendBaseDelegate installBaseLibrary,
required AFExtendCommandsLibraryDelegate installCommandLibrary
}) async {
await _afCommandMain(paramsDart, args, "afib", "App-specific afib command", installBase, installBaseLibrary, [
_afRegisterAppCommands,
installCommand
], installCommandLibrary);
}