Skip to content

feat(cli): Add --from flag to conversation rm command - #90

Merged
JeanMertz merged 1 commit into
mainfrom
jean/conversation-rm-from
May 25, 2025
Merged

JeanMertz merged 1 commit into
mainfrom
jean/conversation-rm-from

Conversation

@JeanMertz

Copy link
Copy Markdown
Collaborator

The new --from flag allows users to remove all conversations starting from a specified conversation ID, based on creation date. This provides a convenient way to perform bulk removal of conversations without having to specify each individual conversation ID.

The flag conflicts with the existing id argument to ensure clear intent. When --from is specified, all conversations with IDs greater than or equal to the specified conversation are removed.

Example usage: jp conversation rm --from jp-c17472304666-otvo8 removes conversation jp-c17472304666-otvo8 and all conversations created after it.

The new `--from` flag allows users to remove all conversations starting
from a specified conversation ID, based on creation date. This provides
a convenient way to perform bulk removal of conversations without having
to specify each individual conversation ID.

The flag conflicts with the existing `id` argument to ensure clear
intent. When `--from` is specified, all conversations with IDs greater
than or equal to the specified conversation are removed.

Example usage: `jp conversation rm --from jp-c17472304666-otvo8` removes
conversation `jp-c17472304666-otvo8` and all conversations created after
it.

Signed-off-by: Jean Mertz <git@jeanmertz.com>
@JeanMertz
JeanMertz merged commit 34417a2 into main May 25, 2025
@JeanMertz
JeanMertz deleted the jean/conversation-rm-from branch May 25, 2025 19:03
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