pub enum Runnable {
Show 15 variants
Skill {
name: String,
arguments: String,
},
Run {
task: Option<String>,
},
Converge,
Commit {
paths: Vec<String>,
},
Approve {
task: String,
},
Reject {
task: String,
},
Accept {
task: String,
},
Skip {
task: String,
},
Nudge {
task: String,
},
Rule {
task: String,
},
Review {
ids: Vec<String>,
verdict: String,
},
IssueComment {
issue: u64,
assign: bool,
},
QuickChange {
request: String,
checks: Vec<String>,
run: bool,
},
Feature,
PullRequest,
}Expand description
How an interface runs an action itself.
Variants§
Skill
A planning skill (speccoder spec <name> <arguments>).
Run
speccoder run, the feature or one task.
Converge
speccoder run --converge: the ready tasks, then the assessment of
the code against the spec as it is now, appending what remains.
Commit
Commit exactly these planning files.
Approve
Approve the task’s waiting call.
Reject
Reject it (the input is the reason).
Accept
Tick the task on the person’s word (the input is the reason).
Skip
Skip the task (the input is the reason).
Nudge
Leave a note for the task’s next attempts (the input is the note).
Rule
Rule that a held attempt’s tests are right (the input is the reason).
Review
Record the person’s review of requirements (the input is the comment; required to request changes).
Fields
IssueComment
Tell a GitHub issue it is being specified as the current feature.
QuickChange
Record a quick change and, when run, run it.
Fields
Feature
Pick the current feature.
PullRequest
Push the feature’s branch and open (or update) its draft pull request.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Runnable
impl<'de> Deserialize<'de> for Runnable
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for Runnable
Source§impl JsonSchema for Runnable
impl JsonSchema for Runnable
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more