DEV Community

Sabut Shrestha
Sabut Shrestha

Posted on

Dev Toolbox CLI 6 tiny commands that save me time every day

What is Dev Toolbox?

Dev Toolbox is a small CLI that bundles daily dev chores into one tool:
format JSON, slugify text, extract links, batch rename files, convert Markdown to PDF, and resize images.

GitHub: https://github.com/sabut1214/DevToolBox

Why I built it

I kept repeating the same tiny tasks during projects, so I built one CLI to do them consistently and fast.

Features (v1.0)

  • fmt-json — pretty print / minify JSON (file or stdin)
  • slugify — convert text into clean slugs
  • extract-links — pull URLs from markdown/text
  • batch-rename — rename many files safely (--dry-run)
  • md-to-pdf — convert Markdown to PDF
  • img-resize — resize images in bulk

Install


bash
pipx install devtoolbox
# or
pip install devtoolbox

## Usage examples
dt fmt-json input.json --in-place
dt slugify "Hello World from Nepal!"
dt extract-links README.md --unique
dt batch-rename ./photos --prefix trip_ --start 1 --dry-run
dt md-to-pdf README.md --out README.pdf
dt img-resize ./images --width 1080 --out ./out

Enter fullscreen mode Exit fullscreen mode

Top comments (0)