GetStream / stream-cli

Configure & manage Stream applications from the command line. 🚀
https://yarnpkg.com/en/package/getstream-cli
BSD 3-Clause "New" or "Revised" License
85 stars 19 forks source link

CLI deletes custom fields when updating channel #37

Closed SeniYG closed 2 years ago

SeniYG commented 4 years ago

Hello,

I was trying to update a channel's image field via the CLI:

stream chat:channel:update -t 'messagingMembersOnly' -c "chatRoom_9nuDGTNQoEpF7NFzHhQ71U" --image=null

But that command had an unintended effect as it cleared most of the channel's other fields (like name, daisieRoomType, etc)

Feature request : Is there a way to update custom fields (like daisieRoomType) using the CLI?

Additionally, is there a way to non-destructively update a field using the CLI?

peterdeme commented 2 years ago

This isn't applicable anymore