A modular Go CLI that automates API fetching, JSON formatting, and file organization — all from your terminal with colored output, smart flags, and real-world error handling.
Four focused commands. Each does one thing extremely well — with rich output, smart flags, and battle-tested error handling.
Fetch any HTTP/HTTPS URL and see the response with status code, timing, and debug headers. Save to a file with --save.
devtool get <url>
--save
--verbose
Validate and pretty-print any JSON file. Catches malformed JSON with clear, human-readable error messages — no squinting at raw output.
devtool format <file.json>
--save
Scan a messy directory and auto-sort files into categorized subfolders — Images, Documents, Code, Videos, Archives — with a full summary.
devtool clean <folder>
--verbose
Print version, commit hash, and build date — injected at build time via -ldflags. Always know exactly what's running in production.
devtool version
From zero to productive in under a minute. No config files, no environment setup — just build and run.
Clone the repo and run
go build -o devtool .
or use go install.
Pick a command — get, format, or clean — and pass your target as an argument.
Append --verbose to any command to see headers, file paths, and debug logs in real time.
Click a tab to watch the command run. Real flags, real output.
Available on get and format. Save output to a file instead of printing to the terminal.
Available on all commands. Enable debug logging — response headers, content-type, file paths, and internal state.
devtool-cli handles every edge case gracefully — no mysterious stack traces, just clear and actionable messages. Click any card to see the exact output.