feat(bd): add --ephemeral and --persistent flags to bd update (#1263)

Adds --ephemeral and --persistent flags to bd update command.

Author: aleiby
This commit is contained in:
aleiby
2026-01-22 15:54:04 -08:00
committed by GitHub
parent d037158624
commit 16749e6731
3 changed files with 109 additions and 1 deletions

View File

@@ -92,7 +92,7 @@ func updatesFromArgs(a UpdateArgs) (map[string]interface{}, error) {
u["sender"] = *a.Sender
}
if a.Ephemeral != nil {
u["ephemeral"] = *a.Ephemeral
u["wisp"] = *a.Ephemeral // Storage API uses "wisp", maps to "ephemeral" column
}
if a.RepliesTo != nil {
u["replies_to"] = *a.RepliesTo