Unified CLI for the DazzleTools collection - many tools, one command
Project description
DazzleCMD (dz)
Many tools, one command.
A unified CLI that aggregates many small standalone tools into a single discoverable, version-tracked interface. Instead of remembering where dozens of scripts live or hunting through folders, just use dz <tool> [args].
Why DazzleCMD?
Have you ever accumulated a collection of small utilities and handy scripts over the years -- spread across multiple folders, computers, some on network drives, some local, most not on GitHub -- and found yourself constantly forgetting where things live or what they're called?
Or maybe you've written a quick Python script to solve a problem, used it a few times, then couldn't find it six months later when you needed it again? Or you have tools that are useful but too small to justify their own GitHub repo, but also too valuable to leave scattered and unversioned?
Enter dz...
DazzleCMD provides a single entry point for all your tools. Each tool keeps its own structure and versioning. Dazzlecmd simply provides the discovery and dispatch layer. Tools that grow complex enough can "graduate" to their own repos (which can in turn be nested internal to "dz" as git submodules). Tools that stay small stay organized, easy to find, and simple to track.
Features
- Unified Dispatch: Run any tool with
dz <tool> [args]-- argparse-based with per-tool subparsers - Kit System: Curated tool collections --
coreships with dazzlecmd,dazzletoolsbundles the default collection - Polyglot Support: Python, shell, batch, compiled binaries -- dispatch handles runtime differences transparently
- Progressive Scaffolding:
dz new my-toolstarts minimal (blank canvas),--simpleadds TODO/NOTES,--fulladds roadmap and tests - Namespace Organization: Tools grouped under
projects/<namespace>/<tool>/to prevent collisions at scale - Platform-Aware: Each tool declares both a quick-glance platform category and specific verified OS list
- No Modification Required: Existing scripts work as-is -- dazzlecmd wraps them, doesn't rewrite them
Installation
pip install dazzlecmd
Or install from source:
git clone https://github.com/DazzleTools/dazzlecmd.git
cd dazzlecmd
pip install -e .
Usage
# List all available tools
dz list
# Run a tool (all arguments pass through)
dz dos2unix myfile.txt
dz rn "(.*)\.bak" "\1.txt" *.bak
dz delete-nul C:\projects
dz links -r --type symlink,junction # Find all symlinks and junctions recursively
dz links --broken # Find broken links in current directory
# Get detailed info about a tool
dz info dos2unix
# List kits and their contents
dz kit list
dz kit list core
dz kit list dazzletools
# Create a new tool project
dz new my-tool # Bare minimum: manifest + script
dz new my-tool --simple # + TODO.md, NOTES.md
dz new my-tool --full # + ROADMAP.md, tests/, private/
# Version info
dz --version
Included Tools
Core Kit
These are the tools that ship with dazzlecmd. They are available everywhere and always active.
| Tool | Description | Platform |
|---|---|---|
find |
Cross-platform file search powered by fd | Cross-platform |
fixpath |
Fix mangled paths, search for files, open/copy/browse | Cross-platform |
links |
Detect and display filesystem links (symlinks, junctions, hardlinks, shortcuts) | Cross-platform |
listall |
Flexible directory structure listing with sorting and collection | Cross-platform |
rn |
Rename files using regular expressions | Cross-platform |
DazzleTools Kit
The default DazzleTools collection.
| Tool | Description | Platform |
|---|---|---|
claude-cleanup |
Stage and commit Claude Code transient state files | Cross-platform |
dos2unix |
Pure-Python line ending converter (dos2unix/unix2dos) | Cross-platform |
delete-nul |
Delete Windows NUL device files created by accidental >nul redirection |
Windows |
srch-path |
Search the system PATH for executables | Cross-platform |
split |
Split text by separator with optional token filtering | Cross-platform |
How It Works
- Discovery: On startup,
dzscansprojects/<namespace>/<tool>/for.dazzlecmd.jsonmanifests - Kit Filtering: Only tools belonging to active kits are loaded
- Parser Assembly: Each discovered tool gets an argparse subparser
- Dispatch: When you run
dz <tool> [args], the runtime type determines how the tool executes:pythonwithpass_through: false→ imports the module and calls the entry point directlypythonwithpass_through: true→ runs via subprocess (for tools with non-standard signatures)shell/script/binary→ subprocess with appropriate interpreter
Tool Manifests
Each tool has a .dazzlecmd.json manifest:
{
"name": "dos2unix",
"version": "0.1.0",
"description": "Pure-Python line ending converter",
"namespace": "dazzletools",
"language": "python",
"platform": "cross-platform",
"platforms": ["windows", "linux", "macos"],
"runtime": {
"type": "python",
"entry_point": "main",
"script_path": "dos2unix.py"
},
"taxonomy": {
"category": "file-tools",
"tags": ["text", "line-endings", "conversion"]
}
}
Project Structure
dazzlecmd/
├── src/dazzlecmd/ # Installable Python package
│ ├── cli.py # Entry point, argparse dispatch
│ ├── loader.py # Kit-aware project discovery
│ └── templates/ # Scaffolding templates for dz new
├── projects/ # Tool projects by namespace
│ ├── core/ # Core tools (ships with dazzlecmd)
│ │ ├── find/
│ │ ├── fixpath/
│ │ ├── links/
│ │ ├── listall/
│ │ └── rn/
│ └── dazzletools/ # DazzleTools collection
│ ├── claude-cleanup/
│ ├── dos2unix/
│ ├── delete-nul/
│ ├── split/
│ └── srch-path/
├── kits/ # Kit definitions (*.kit.json)
├── config/ # JSON schema for manifests
└── scripts/ # Version management and git hooks
Cross-Platform
| Platform | Status |
|---|---|
| Windows | Supported |
| Linux | Supported |
| macOS | Supported |
Individual tools may have platform-specific requirements -- check dz info <tool> for details. See Platform Support for the full matrix.
Documentation
- Core Tool Docs -- detailed documentation for each core tool
- Creating Tools -- build your own dz tool
- Kits Guide -- how the kit system works, the recursive architecture
- Manifest Reference --
.dazzlecmd.jsonschema - Platform Support -- OS compatibility matrix
Related Projects
- git-repokit -- Standardized Git repository creation tool
- preserve -- Cross-platform file preservation with path normalization and verification
- dazzlesum -- Cross-platform file checksum utility
Contributing
Contributions are welcome! Please read our Contributing Guide for details.
Like the project?
License
Copyright (C) 2026 Dustin Darcy
This project is licensed under the GNU General Public License v3.0 -- see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dazzlecmd-0.5.0.tar.gz.
File metadata
- Download URL: dazzlecmd-0.5.0.tar.gz
- Upload date:
- Size: 45.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b78d51be642923ce453a852cb18b672eff5841c3c51ba5127171e09ef70892b1
|
|
| MD5 |
3e668dd0bf25335653a068bff0899975
|
|
| BLAKE2b-256 |
55509236ba51219ae597aee9270dffc38651f34f9efbb1aeb1fc47c86dffdd10
|
Provenance
The following attestation bundles were made for dazzlecmd-0.5.0.tar.gz:
Publisher:
publish.yml on DazzleTools/dazzlecmd
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dazzlecmd-0.5.0.tar.gz -
Subject digest:
b78d51be642923ce453a852cb18b672eff5841c3c51ba5127171e09ef70892b1 - Sigstore transparency entry: 1189455457
- Sigstore integration time:
-
Permalink:
DazzleTools/dazzlecmd@ddaf7cd122e3e40e1ce50629c1973b0fcaf377e9 -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/DazzleTools
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ddaf7cd122e3e40e1ce50629c1973b0fcaf377e9 -
Trigger Event:
push
-
Statement type:
File details
Details for the file dazzlecmd-0.5.0-py3-none-any.whl.
File metadata
- Download URL: dazzlecmd-0.5.0-py3-none-any.whl
- Upload date:
- Size: 38.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72b79b34f0fc74d69a64afef5051fd4b4eaecd647e26eab82a4c81a772f9f185
|
|
| MD5 |
a6cf73a0075e7651cff2dfc16c1dc722
|
|
| BLAKE2b-256 |
c19b4b3ac5aa66f515f7f16322b41c29eff2a0abeeff82cccab5255eb4dd6239
|
Provenance
The following attestation bundles were made for dazzlecmd-0.5.0-py3-none-any.whl:
Publisher:
publish.yml on DazzleTools/dazzlecmd
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dazzlecmd-0.5.0-py3-none-any.whl -
Subject digest:
72b79b34f0fc74d69a64afef5051fd4b4eaecd647e26eab82a4c81a772f9f185 - Sigstore transparency entry: 1189455462
- Sigstore integration time:
-
Permalink:
DazzleTools/dazzlecmd@ddaf7cd122e3e40e1ce50629c1973b0fcaf377e9 -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/DazzleTools
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ddaf7cd122e3e40e1ce50629c1973b0fcaf377e9 -
Trigger Event:
push
-
Statement type: