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)