Cmdline tool: create an item, and add it at the same time to .collectionIds

Hi,

This is question about command-line tool.

Please help me : create an item, and add it at the same time to .collectionIds

I have access to organization.
I have access to collection.

I want to create a note and add it at the same time to collectionsId.
I found about this at bitwarden/Lobby - Gitter

Kyle Spearrin @kspearrin Oct 17 2019 13:58
yes, you can
collectionIds should be an array of ids

➜  bw get template item | jq '.name = "delme3" | .type = 2 | .organizationId = "XXX" | .notes = "hi there2" | .secureNote = {"type":0} | .collectionIds = ["f7f5b6f8-28de-4763-bd4c-acae0075b56e"]' | bw encode | bw create item
{"object":"item","id":"4594a3e7-941d-4fb8-884f-acb400aef7c6","organizationId":"XXX","folderId":null,"type":2,"name":"delme3","notes":"hi there2","favorite":false,"secureNote":{"type":0},"revisionDate":"2021-01-18T10:37:02.312Z"}

➜  bw get item 4594a3e7-941d-4fb8-884f-acb400aef7c6              
{"object":"item","id":"4594a3e7-941d-4fb8-884f-acb400aef7c6","organizationId":"XXX","folderId":null,"type":2,"name":"delme3","notes":"hi there2","favorite":false,"secureNote":{"type":0},"revisionDate":"2021-01-18T10:37:02.312Z"}

The created item was not added to collection.

We have a lot of secrets, and add each of them with web-ui is not good.

Thank you!