Repository navigation
v1.7.0: Full API Parity
What's New
Full parity with the Craft Space API. Every documented endpoint is now accessible from the CLI.
New Commands
craft collections— List, view schema, and manage collection items (add/update/delete)craft connection— Show space metadata (timezone, deep link templates)craft upload— Upload files and images to documents or daily notescraft comments add— Add comments to blocks (experimental API)
Enhanced Commands
craft search— Block-level search within documents (--document), regex (--regex), date filters, location/folder filters, context blockscraft blocks get— Daily note access (--date today), depth control (--depth), metadata (--metadata)craft blocks add— Add blocks to daily notes by date (--date)craft list— Date range filters (--created-after,--modified-before, etc.), metadata fetching
API Coverage
- 9 new API endpoint integrations
- 4 new command files, 3 enhanced commands
- ~2,700 lines of new code with full test coverage
Install
# macOS (Apple Silicon)
curl -L https://github.com/nerveband/craft-cli/releases/download/v1.7.0/craft-darwin-arm64 -o /usr/local/bin/craft && chmod +x /usr/local/bin/craft
# macOS (Intel)
curl -L https://github.com/nerveband/craft-cli/releases/download/v1.7.0/craft-darwin-amd64 -o /usr/local/bin/craft && chmod +x /usr/local/bin/craft
# Or build from source
go install github.com/ashrafali/craft-cli@v1.7.0