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)