| 27 | #[derive(Parser, Debug)] |
| 28 | #[command(name = "write")] |
| 29 | pub struct MemoryWrite { |
| 30 | /// Memory name/id (e.g. "architecture" or a ULID). Stored at `memory/<name>.md`. |
| 31 | pub name: String, |
| 32 | |
| 33 | /// Freeform type label (e.g. user, feedback, project, reference). |
| 34 | #[arg(long, short = 't', default_value = "project")] |
| 35 | pub r#type: String, |
| 36 | } |
| 37 | |
| 38 | impl Command for MemoryWrite { |
| 39 | fn run(&self) -> CliResult<()> { |