execute method

  1. @override
Future<void> execute()
override

Implementation

@override
Future<void> execute() async {
  remoteBranch.push(
    localRepository: localRepository,
    onNoCommits: () => debugPrintToConsole(message: "Nothing to commit"),
    onRemoteUrlNotSupported: () => debugPrintToConsole(message: "Unsupported remote"),
    onSuccessfulPush: () => printToConsole(message: "Pushed successfully"),
  );
}