nex-cls
Project-agnostic artifact ignore tool — scan, select, gitignore.
nex-cls is a standalone CLI that helps you keep junk out of any git repository. Run it in any project, browse the markdown files and folders, pick what you want ignored, and it appends the right root-anchored patterns to .gitignore.
It never deletes or modifies any file — it only writes to .gitignore.
Install
pip install nex-cls
Usage
cd ~/any/project
nex-cls # interactive browser
nex-cls --dry-run # preview only, no changes
nex-cls --auto # ignore all root-level .md files, keep folders
nex-cls --wildcard # use /*.md instead of individual entries
nex-cls --path DIR # scan a specific directory
Interactive browser
┌───────────────────────────────────────────────┐
│ nex-cls — select artifacts to ignore │
│ myproject/ │
│ [x] Research.md │
│ [ ] docs/ (2 .md) [enter → open] │
│ [x] work.md │
└───────────────────────────────────────────────┘
↑/↓ move · space toggle · enter open folder · ← back · tab done · q quit
- Root-level
.mdfiles are listed individually (pre-selected). - Folders containing
.mdfiles are shown as one entry (default keep) — press Enter to open them and select individual files or subfolders. - Selection persists across navigation — opening/leaving folders never unselects anything.
- Press Tab to finish, then confirm the preview.
What gets written
Patterns are root-anchored so only the exact things you chose are ignored:
/Research.md
/notes/scratch.md
/SPEC/ # whole folder, chosen by you
Features
- Project-agnostic — works in any directory, no assumptions about your stack
- Never deletes or moves files —
.gitignoreonly - Interactive checkbox + folder browser
- Idempotent — re-running never duplicates entries
- Dry-run preview and
--automode for scripts - Skips
node_modules, hidden dirs, and other junk automatically
License
MIT
Metadata
Release files for nex-cls 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nex_cls-1.0.0.tar.gz | 9.7 kB | Without provenance | Details for nex_cls-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nex_cls-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for nex_cls-1.0.0-py3-none-any.whl |
Total release size: 20.2 kB
Release files / nex_cls-1.0.0.tar.gz
| Download URL | nex_cls-1.0.0.tar.gz |
|---|---|
| Size | 9.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a28c740b8286a2979fa60bd9136cc3f5d4a1a1210ad82efe9a74b5a425d0c47d
|
|
BLAKE2b-256 checksum How to use checksums |
0b9ae6bad1c8218c12caa078c9d9a9f1276664f2d01ad9abd46630f8b914fa5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / nex_cls-1.0.0-py3-none-any.whl
| Download URL | nex_cls-1.0.0-py3-none-any.whl |
|---|---|
| Size | 10.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
54d49b61bbf0a15828c124751b70a02fcfbe426d27951a03b0238f058460ff48
|
|
BLAKE2b-256 checksum How to use checksums |
be5ce660dfaac00cdf0461556c532a672b5c6ec72e2e25e3add4bb2af88c20e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for nex-cls 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.