Skip to content

Add -D/--delete flag to remove paths from the store#35

Open
wyne wants to merge 1 commit into
mainfrom
feat/delete-flag
Open

Add -D/--delete flag to remove paths from the store#35
wyne wants to merge 1 commit into
mainfrom
feat/delete-flag

Conversation

@wyne

@wyne wyne commented Jun 10, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds -D/--delete flag (accepts multiple values) to remove one or more entries from ~/.fasder
  • Implements DeleteFromStore(paths []string) in filestore.go using the same atomic write pattern as the rest of the store
  • No-op when a path isn't found (safe to call with stale/typo paths)

Closes #12

Test plan

  • fasder -D /some/path removes the entry from the store
  • fasder -D /path1 -D /path2 removes multiple entries at once
  • Deleting a path not in the store leaves the store unchanged
  • go test -run TestDelete ./... passes

https://claude.ai/code/session_015fMoaAdGN1KxxrVHskgicZ


Generated by Claude Code

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.

Delete path

2 participants