Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Create a new comment even if it already exists CreateCommentStrategy = "create" // Create a new comment only if it doesn't already exist CreateIfNotExistsCommentStrategy = "create-if-not-exists" // Delete a comment if it exists and create it again DeleteAndCreateCommentStrategy = "delete-and-create" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { scmhelpers.PullRequestOptions Comment string Result *scm.PullRequest Strategy string FileName string }
Options the options for the command
func NewCmdPullRequestComment ¶
NewCmdPullRequestComment creates a command object for the command
Click to show internal directories.
Click to hide internal directories.