feat: implement card assign/unassign commands and edit flags#153
Open
brianevanmiller wants to merge 1 commit intoneedmore:mainfrom
Open
feat: implement card assign/unassign commands and edit flags#153brianevanmiller wants to merge 1 commit intoneedmore:mainfrom
brianevanmiller wants to merge 1 commit intoneedmore:mainfrom
Conversation
Complete the stubbed card assign and unassign commands, and add --assign/--unassign flags to card edit's non-interactive mode. Also fix parseSince "this week"/"last week" to truncate to midnight. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
Author
|
@brigleb - give this a lookover when you get a chance, thank you! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Complete the stubbed
card assignandcard unassigncommands so users can manage card assignees from the CLI. Also add--assign/--unassignflags tocard editfor non-interactive use.bc4 card assign— Accepts positional args (@jane @john) and/or--assignflag, resolves users viaUserResolver, merges with existing assignees (deduplicates)bc4 card unassign— Same input flexibility, filters resolved users from existing assignees, handles edge cases (no assignees, users not assigned)bc4 card edit --assign/--unassign— Adds--assignand--unassignstring slice flags to the non-interactive mode, extendingupdateCardNonInteractivewith merge/filter logicparseSincefor "this week"/"last week" — Truncate to midnight (matching "today"/"yesterday" pattern), fixing a test that failed on SundaysTest plan
make buildsucceedsgo vet ./...passesgo fmt ./...cleango test ./...— all tests pass (including previously failingTestParseSince/this_week)bc4 card assign --help,bc4 card unassign --help,bc4 card edit --helpshow correct flags/examplesbc4 card edit ID --assign @userworks in non-interactive mode🤖 Generated with Claude Code