(command: string)
| 95 | * Check if a command is a git commit command |
| 96 | */ |
| 97 | export function isGitCommitCommand(command: string): boolean { |
| 98 | const trimmed = command.trim().toLowerCase(); |
| 99 | return trimmed.startsWith("git commit") || trimmed.startsWith("git-commit"); |
| 100 | } |
| 101 | |
| 102 | /** |
| 103 | * Check if a command is a pull request creation command |