-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
CAS-002: CLI content commands
Parent: #271 (M13 VESSEL)
Depends: #272 (CAS-001)
Deliverable
Four new CLI commands in src/cli/commands.js:
git mind content set <node> --from <file>— read file, detect MIME, write to CAS, set propertiesgit mind content show <node> [--raw]— read and display content (--raw for piping, no metadata header)git mind content meta <node> [--json]— show content metadatagit mind content delete <node>— remove content attachment
Design
- MIME detection: use file extension mapping (
.md→text/markdown,.txt→text/plain, etc.) content setaccepts--mimeoverride for explicit MIME typecontent showwithout--rawprints a metadata header then content bodycontent deleteconfirms node exists and has content before removing--jsonsupport on all commands following established pattern- Chalk formatting for human-readable output
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request