godchat-core 0.1.0

Core types and traits for godchat
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::ports::Spawner;
use crate::types::*;

pub struct EchoSpawner;

impl EchoSpawner {
    pub fn new() -> Self {
        Self
    }
}

impl Spawner for EchoSpawner {
    fn spawn_command(&self, task: &TaskSummary, _brief: &ContextBrief) -> String {
        format!("godchat start {}/{}", task.project_id, task.name)
    }
}