dot-ds
v0.1.0
Published
A simple CLI to manage `.DS_Store`.
Readme
dot-ds
A simple CLI to manage .DS_Store.
- Adds comprehensive
.DS_Storerelated entries to.gitignore. - Creates
.gitignoreif it doesn't exist. - Refreshes git cache to apply changes immediately.
Usage
Check current status
npx dot-dsThis will analyze your current .gitignore and show what changes are needed.
Apply changes
npx dot-ds -u
# or
npx dot-ds --updateThis will:
- Update your
.gitignorewith.DS_Storeentries (or create a new one). - Run
git rm -r --cached .to remove all files from git cache. - Run
git add .to re-add files respecting the updated.gitignore.
What gets added to .gitignore
# macOS
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db