# Sample rskiller configuration file (TOML format)
# Place this file as:
# - Project-local: ./rskill.toml
# - User config: ~/.config/rskiller/rskill.toml
[search]
# Starting directory for project scanning
# directory = "~/"
# Search from user's home directory
# full = false
# Target directory name to search for
# target = "target"
# Directories to exclude from search
exclude = ["node_modules", "vendor", ".git"]
# Exclude hidden directories from search
exclude_hidden = true
# Include Cargo registry and git cache analysis
include_cargo_cache = false
[output]
# Sort results by: "size", "path", or "last-mod"
sort = "size"
# Show sizes in gigabytes instead of megabytes
gb = false
# Interface color: "blue", "cyan", "magenta", "white", "red", "yellow"
color = "blue"
# Hide error messages during scanning
hide_errors = false
[behavior]
# Don't actually delete anything (dry run mode)
dry_run = false
# Automatically delete all found directories
delete_all = false
# Non-interactive mode, just list projects
list_only = false
# Don't check for updates
no_check_update = false
[safety]
# Confirm before large deletions
confirm_large_deletions = true
# Threshold for considering a deletion "large"
large_deletion_threshold = "1GB"
# Create backup before deleting
backup_before_delete = false
# Maximum number of concurrent deletion operations
max_concurrent_deletions = 3
[filters]
# Minimum age in days for projects to be considered for cleanup
min_age_days = 0
# Maximum age in days (older projects will be excluded)
max_age_days = 365
# Minimum size for target directories to show
min_size = "1MB"
# Ignore projects that have been recently active
ignore_active_projects = true
# Hours to consider a project "active"
active_threshold_hours = 24