export class GitHubNoteCommentPostCliGateway {
    executor;
    constructor(executor) {
        this.executor = executor;
    }
    async postComment(input) {
        const command = `gh api --method POST repos/${input.projectPath}/issues/${input.mrNumber}/comments --field body=${JSON.stringify(input.body)}`;
        this.executor(command);
    }
}
//# sourceMappingURL=noteCommentPost.github.cli.gateway.js.map