Skip to content

Add block metadata flags to upload command - #29

Open
myles wants to merge 4 commits into
aredotna:mainfrom
myles:adds-addtional-arguments-to-upload-command
Open

Add block metadata flags to upload command#29
myles wants to merge 4 commits into
aredotna:mainfrom
myles:adds-addtional-arguments-to-upload-command

Conversation

@myles

@myles myles commented Sep 5, 2026

Copy link
Copy Markdown

Brings upload to parity with add by exposing the remaining block-creation options.

New flags:

  • --alt-text
  • --original-source-url
  • --original-source-title
  • --insert-at
  • --metadata
  • --connection-metadata

Uploading a file previously accepted only --title and --description, so anything needing alt text, source attribution, or metadata had to be uploaded and then patched with a second command.

Switches the block payload from channel_ids to the channels array so per-connection position and metadata can be sent alongside the channel id. Both the interactive and --json paths take the same flags, reusing the existing intFlag and entityMetadataFlag helpers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant