{"modulePath":"github.com/AlaudaDevops/toolbox/pr-cli","version":"v0.0.0-20261019083812-38d5e0ad0d24","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package comment\n\n## Functions\n\n```go\nfunc HasUncheckedCheckbox(body string) bool\n```\nHasUncheckedCheckbox reports whether the body contains at least one unchecked checkbox.\n\n```go\nfunc IsMultiLineCommand(comment string) bool\n```\nIsMultiLineCommand checks if a comment contains multiple command lines\n\n```go\nfunc Normalize(comment string) string\n```\nNormalize normalizes a comment for consistent processing by trimming whitespace and handling common escape sequences that might appear in command line inputs\n\n```go\nfunc PreprocessSpecialCommands(commandStr string) string\n```\nPreprocessSpecialCommands handles special command transformations for complete command strings\n\n```go\nfunc SplitCommandLines(comment string) []string\n```\nSplitCommandLines splits a multi-line comment into individual command lines\n\n```go\nfunc SplitRawCommandLines(comment string) []string\n```\nSplitRawCommandLines splits a multi-line comment into individual command lines without preprocessing\n\n```go\nfunc ToggleAllUncheckedCheckboxes(body string) (string, int)\n```\nToggleAllUncheckedCheckboxes returns a comment body where all unchecked checkboxes (\\[ ]) are marked as checked (\\[x]). The second return value indicates how many checkboxes were toggled.\n\n","path":"github.com/AlaudaDevops/toolbox/pr-cli/pkg/comment","name":"comment","synopsis":"","isRedistributable":true}
