runCli method
Implementation
Future<void> runCli() async {
init();
await runImpaktfullCli(() async {
final runner = CommandRunner(
'impaktfull_cli',
'A cli that replaces `fastlane` by simplifying the CI/CD process.',
);
runner.argParser.addGlobalFlags();
for (final command in commands) {
runner.addCommand(command);
}
final argResults = runner.argParser.parse(arguments);
ImpaktfullCliLogger.enableVerbose(
isVerboseLoggingEnabled: argResults.isVerboseLoggingEnabled());
await runner.run(arguments);
});
dispose();
}