Releases: 4ier/notion-cli
Releases · 4ier/notion-cli
v0.3.0
Changelog
- 1fc3f16 Merge feat/v0.3-features: page edit, block move, db export, comment reply, auth switch
- fe37d1f feat(auth): add multi-profile support with switch command
- 9c25e2d feat(block): add move command for repositioning blocks
- ac1cbe3 feat(comment): add reply command for threaded comments
- 6199813 feat(db): add export command for exporting database to CSV/JSON/MD
- 9e189e5 feat(page): add edit command for editing pages in text editor
- 2bc33ce fix: lint gosimple S1009 — remove redundant nil checks on map
v0.2.0
notion-cli v0.2.0
Like gh for GitHub, but for Notion. 39 commands. One binary.
Install
brew install 4ier/tap/notion-cli # macOS / Linux
go install github.com/4ier/notion-cli@latest # Go
docker run --rm -e NOTION_TOKEN ghcr.io/4ier/notion-cli search "meeting" # DockerWindows: scoop bucket add 4ier https://github.com/4ier/scoop-bucket && scoop install notion-cli
Highlights
- 39 commands covering 100% of the Notion API (pages, databases, blocks, comments, users, files)
- Human-friendly filters:
--filter 'Status=Done'instead of raw JSON - Schema-aware page creation: auto-detects property types from database schema
- Markdown I/O: read blocks as Markdown, write Markdown to Notion
- Smart output: colored tables in terminal, clean JSON when piped
- Recursive block reading:
--depth Nfor nested content - Actionable error messages: suggests fixes for common API errors
- Single static binary: zero runtime dependencies
Distribution
| Channel | Command |
|---|---|
| Homebrew | brew install 4ier/tap/notion-cli |
| Go | go install github.com/4ier/notion-cli@latest |
| Scoop | scoop install notion-cli (after adding bucket) |
| Docker | ghcr.io/4ier/notion-cli:0.2.0 |
| Binary | See assets below (Linux/macOS/Windows × amd64/arm64) |
| deb/rpm | See assets below |
