2 ms·
If our hypothetical web developer needs a command-line tool, why shouldn't they write it themselves? And why would using different programming languages be the
by andrewaylett 3y ago
If our hypothetical web developer needs a command-line tool, why shouldn't they write it themselves? And why would using different programming languages be the same skill-set, but CLIs vs GUIs be a different skill-set?
There are other considerations to take into account, too: in an environment that commonly uses `npm`, a JS or TS package may be the easiest way to distribute your CLI tool. Especially if it's a tool intended to be used in the context of an NPM-based project.
For what it's worth, I have published CLI tools: `downgrade-build` is written in TypeScript, published with NPM, and used by my other NPM packages. `dabl` is written in Rust, published on crates.io, and honestly will probably only ever be used by me but it's useful to me :).