Skip to main content

Module commands

Module commands 

Source
Expand description

Owner slash commands — parse, validate, and execute /commands in issue comments.

Provides command parsing (parse_command), validation + execution (validate_and_run_command), and the individual command implementations. The scanning loop lives in sync.rs (scan_comments).

Enums§

CommandOutcome
Result of attempting to validate and run a slash command.
OwnerCommand
Parsed owner command from an issue comment.

Traits§

CommandGh
Minimal GitHub interface required by command validation and execution.
CommandStoreOps
Minimal store interface required by command execution.

Functions§

execute_command
Execute a single owner command against a task.
parse_command
Parse a slash command from a comment body.
validate_and_run_command
Validate a slash command (issue open, author is collaborator) and execute it.