DEV Community

PRAS Samin
PRAS Samin

Posted on

Thinking of building a modern CLI for managing custom commands - would you use it?

Hey 👋
I’m experimenting with an idea for a new command-line tool to enable developers to build, organize and run their own custom commands in JavaScript - it’s like a modern version of hacking together bash scripts.

🧩 The Problem:
Shell scripting is ugly and non-portable (across MacOS, Linux, Windows).
You start hacking up. sh scripts.
Working with personal scripts (so you make them executable, list them, sync your changes) is awkward.

âš¡ The Idea:
A CLI that serves as your personal command manager, you can:
Scripting in JavaScript (with a little helper API).
Save them to a place — immediately usable elsewhere as subcommands, e.g., mycli deploy or mycli clean.
Manage them as easily: mycli add, mycli list, mycli remove.

(Later) sync/backup them cloud or even per-project automation through devDependencies.

It's like if npm, bash and VS Code snippets had a baby 😅

🧭 Tech Vision:

Built as a Node. js CLI (via NPM).
Load your JS scripts dynamically at runtime using libraries such as Commander and Yargs.
Each one is run right inside the cli’s fancy, stand-alone JS runtime (fast and also portable).

I’m curious:
👉 Will you would use something like as a replacement of little bash scripts or task runners?

I would like to receive some feedback prior to actively developing it.

Top comments (0)