snippy 0.1.0

A command-line tool for that makes using LLMs for code generation a breeze
Documentation
pub struct ParsedBlock {
    pub filename: String,
    pub content: String,
    pub block_type: BlockType,
}

#[derive(Debug, PartialEq, Clone)]
pub enum BlockType {
    FullContent,
    UnifiedDiff,
    SearchReplaceBlock,
}

impl std::fmt::Debug for ParsedBlock {
    fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
        f.debug_struct("ParsedBlock")
            .field("filename", &self.filename)
            .field("content", &self.content)
            .field("block_type", &self.block_type)
            .finish()
    }
}