execute method

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

Implementation

@override
Future<bool> execute() async {
  final branchName =
      Input(prompt: "Branch name: ", validator: (value) => value.isEmpty)
          .interact()
          .trim();

  return await renameBranch(branchName: branchName);
}