google/zx: write shell scripts in JavaScript

This page summarizes the projects mentioned and recommended in the original post on /r/shell

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • zx

    A tool for writing better scripts

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • vorpal

    Node's framework for interactive CLIs

    Got it, so more about the general idea of using Node to interact with a shell. Fair points but I'm not sure that's where zx falls. I'm looking at it in relation to projects like commander, oclif, and vorpal— frameworks for authoring and packaging local-use CLI tools written in JS, typically aimed at people who know JS and work in a terminal but don't know shell scripting. Those have the overhead of learning a framework, and don't do anything to help you work with the shell. zx seems to come from the other direction: instead of an esoteric framework, shell concepts and shell commands in a Node script.

  • Commander.js

    node.js command-line interfaces made easy

    Got it, so more about the general idea of using Node to interact with a shell. Fair points but I'm not sure that's where zx falls. I'm looking at it in relation to projects like commander, oclif, and vorpal— frameworks for authoring and packaging local-use CLI tools written in JS, typically aimed at people who know JS and work in a terminal but don't know shell scripting. Those have the overhead of learning a framework, and don't do anything to help you work with the shell. zx seems to come from the other direction: instead of an esoteric framework, shell concepts and shell commands in a Node script.

  • oclif

    CLI for generating, building, and releasing oclif CLIs. Built by Salesforce.

    Got it, so more about the general idea of using Node to interact with a shell. Fair points but I'm not sure that's where zx falls. I'm looking at it in relation to projects like commander, oclif, and vorpal— frameworks for authoring and packaging local-use CLI tools written in JS, typically aimed at people who know JS and work in a terminal but don't know shell scripting. Those have the overhead of learning a framework, and don't do anything to help you work with the shell. zx seems to come from the other direction: instead of an esoteric framework, shell concepts and shell commands in a Node script.

  • genealogit

    Genealogy modeled in Git, with CLI for building and visualizing family trees and for determining blood relationships

    people writing CLI apps who have to depend on a Node package (I would have been happy for something like zx when writing genealogit, a tool for visualizing family trees with Git graphs which I wrote in Node because I needed GEDCOM parser and the only one I found that met my needs in a language I know was in Node. Last I looked it wasn't working, and the oclif factor discouraged me from debugging)

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Mastering Node.js CLI: Best Practices and Tips

    5 projects | dev.to | 6 Feb 2024
  • Building Reactive CLIs with Ink - React CLI library

    3 projects | dev.to | 3 Nov 2023
  • Is Node.js a good way to implement a CLI app with persistence?

    3 projects | /r/node | 2 Jun 2023
  • Building a TypeScript CLI with Node.js and Commander

    6 projects | dev.to | 3 Nov 2022
  • Bash vs Node

    3 projects | /r/node | 23 Jul 2022