Expand block, page, search, and datasource commands; remove database …#2
Merged
Expand block, page, search, and datasource commands; remove database …#2
Conversation
…list
Major feature additions across the CLI:
- block append: support 13 block types (headings, callout, quote, divider,
code, bookmark, to_do, lists, table_of_contents) with --type, --color,
--icon, --language, --checked flags, plus --json for raw block JSON and
stdin piping
- block update: add --color support with text-preserving color-only updates
- block children: show block IDs in formatted output for easier targeting
- page update: add --set for typed property values (rich_text, number,
select, multi_select, date, checkbox, url, email, phone_number), --icon
for emoji, --cover for external images, with "none" removal support
- page get --raw: return { page, blocks } instead of just blocks
- search: add --direction sort, --sort-by field, --raw output, and handle
data_source objects in results
- datasource update: add --add-property and --remove-property for schema
management with select/multi_select option pre-population
Remove database list command — the 2025-09-03 API moves entries to data
sources, so users are directed to datasource query instead.
Update docs command, README, and types. Add comprehensive tests for all
new features including error validation.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Major feature additions across the CLI:
Remove database list command — the 2025-09-03 API moves entries to data sources, so users are directed to datasource query instead.
Update docs command, README, and types. Add comprehensive tests for all new features including error validation.