isGitInitCommand function

bool isGitInitCommand(
  1. CommandRecord command
)

Implementation

bool isGitInitCommand(CommandRecord command) =>
    command.executable == 'git' &&
    command.argumentList.isNotEmpty &&
    command.argumentList.first == 'init';