Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: implement single project truncation command #100

Merged
merged 3 commits into from
Dec 20, 2024

Conversation

guidodinello
Copy link
Contributor

@guidodinello guidodinello commented Dec 17, 2024

Add support for single project truncation

Problem

The current truncate command only supports batch deletion of files from all projects at once. This can be overwhelming and risky when working with projects containing hundreds of files, as users often need to manage files for specific projects individually.

Solution

Modified the truncate command to:

  • Default to single project truncation with interactive selection
  • Maintain batch truncation capability via --all flag

Usage

Single Project (New Default):

claudesync project truncate

@guidodinello guidodinello requested a review from jahwag as a code owner December 17, 2024 04:19
@jahwag
Copy link
Owner

jahwag commented Dec 17, 2024

use this to format your code: https://github.com/psf/black

@guidodinello guidodinello force-pushed the feature/truncate-single-project branch from fe5c916 to 5468525 Compare December 18, 2024 00:33
@jahwag
Copy link
Owner

jahwag commented Dec 18, 2024

@guidodinello guidodinello force-pushed the feature/truncate-single-project branch from 5468525 to 25a3cf4 Compare December 20, 2024 02:08
@jahwag jahwag merged commit e919afb into jahwag:master Dec 20, 2024
3 checks passed
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.

2 participants