Skip to content

feat(cli): add scan exclude flag - #126

Merged
Muawiya-contact merged 2 commits into
mainfrom
codex/add-cli-exclude-flag
Sep 12, 2026
Merged

feat(cli): add scan exclude flag#126
Muawiya-contact merged 2 commits into
mainfrom
codex/add-cli-exclude-flag

Conversation

@Muawiya-contact

Copy link
Copy Markdown
Member

What changed

This adds a repeatable --exclude <DIR> flag to diskern scan.

Example:

diskern scan ~ --exclude ~/Videos --exclude ~/VMs

CLI excludes are appended to the built-in platform defaults, so protected system excludes still apply.

Closes #69.

Commits

  • feat(cli): add scan exclude flag
  • docs(cli): document scan excludes

Validation

  • cargo fmt --check
  • cargo test -p diskern-core -p diskern-cli --all-features
  • cargo clippy -p diskern-core -p diskern-cli --all-targets --all-features -- -D warnings

@Muawiya-contact Muawiya-contact left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@Muawiya-contact
Muawiya-contact merged commit b0effe9 into main Sep 12, 2026
12 checks passed
@Muawiya-contact
Muawiya-contact deleted the codex/add-cli-exclude-flag branch September 12, 2026 12:37
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.

diskern scan has no --exclude flag

1 participant