You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 90ac27c
Browse filesBrowse the repository at this point in the historyBrowse files
Refuse a container flag that a move or copy would ignore
todos copy 456 --todolist 901 copied the to-do into its own list and
reported success: --todolist is a root flag todos copy never reads.
todolistgroups copy --list failed the same way and was fixed on its
own, as were cards copy --card-table and files move --vault.
Every command that moves or copies recordings now goes through
guardFilingFlags, which names the container flags the command
inherits and reads. Any other one that was set, the root's --todolist
or a flag the command's group adds (--card-table, --vault, --folder,
--list), is refused before anything is read or sent, with the
command's own --to-<container> flags as the hint. The three one-off
refusals go. --project and --in stay with each command, which holds a
filed recording to them.
The same-project modes are covered too: todos move --to 1 --todolist
and todolistgroups position --list, which ignored the flag, now refuse
it. cards move and cards column move read --card-table, so they keep it.
The test walks the whole command tree: every move or copy command
declares what it reads, and each container flag it inherits but does
not read is refused with no request sent.
@@ -1563,7 +1569,7 @@ Basecamp to finish the move and shows the card where it landed.`,
1563
1569
cmd.Flags().StringVar(&toWormhole, "to-wormhole", "", "Send the card to another project's card table through an existing wormhole (wormhole ID or destination-column URL)")
Copy file name to clipboardExpand all lines: internal/commands/files.go
+1-6Lines changed: 1 addition & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -2295,11 +2295,6 @@ You can pass IDs or Basecamp URLs for both the item and the folder:
2295
2295
Annotations: map[string]string{"agent_notes": "Moves in place within one project: the ID, URL, and comments stay the same. --position is 1-indexed (default: first). A folder in another project is refused."},
0 commit comments