command_help VS murex

Compare command_help vs murex and see what are their differences.

command_help

:information_source: Extract help text from builtin commands and man pages (by learnbyexample)

murex

A smarter shell and scripting environment with advanced features designed for usability, safety and productivity (eg smarter DevOps tooling) (by lmorg)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
command_help murex
8 55
93 1,364
- -
0.0 9.6
over 3 years ago 9 days ago
Shell Go
- GNU General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

command_help

Posts with mentions or reviews of command_help. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-08-26.
  • Ask HN: What do you use to make CLIs?
    9 projects | news.ycombinator.com | 26 Aug 2022
    I use a lot of CLI tools, but haven't written many for myself. Mostly, aliases/functions and some scripts in Bash/Python.

    Extract details for command options from man/help: https://github.com/learnbyexample/command_help/blob/master/c...

    cut-like syntax for field manipulations with regexp, negative indexing, etc: https://github.com/learnbyexample/regexp-cut/blob/main/rcut

    simple calculator using python syntax: https://learnbyexample.github.io/practice_python_projects/ca...

  • A better way of displaying help text on the command line
    1 project | /r/bashrc | 25 Aug 2022
  • Enter a command to see help text for each arg
    4 projects | news.ycombinator.com | 30 May 2022
    I wrote a Linux CLI tool [0] that parses the man/help pages to extract option details. Works most of the time for me, but there are plenty of corner cases that don't work.

    [0] https://github.com/learnbyexample/command_help

  • What tools / utilities have you written that you use regularly?
    42 projects | /r/commandline | 17 Sep 2021
    https://github.com/learnbyexample/command_help to extract help text from builtin commands and man pages, ex:
  • What's a program you made that you actually use regularly?
    24 projects | /r/learnprogramming | 28 Aug 2021
    https://github.com/learnbyexample/command_help is big enough to warrant a repo, examples, limitations, etc. I had a list of todo items to improve the script, but after years of usage, I'm fine with the limitations since I rarely encounter them. This helps me to extract documentation of particular options, here's an example:
  • Save Time Using Manop to Print Only Selected Content From the Man Page using Manop
    2 projects | /r/commandline | 1 Jun 2021
    I wrote one a few years back (https://github.com/learnbyexample/command_help). It has a few corner case issues, but works most of the time for me and supports multiple options to be retrieved.
  • Explainshell - A tool that takes any shell commands, looks up the syntax and options from man pages, and steps you through what it does!
    1 project | /r/commandline | 26 Jan 2021
    I particularly wanted to lookup documentation for command options from my terminal (instead of the website), so wrote a script for it: https://github.com/learnbyexample/command_help ... Have a long pending todo list, but despite the issues, the tool is good enough for my needs.
  • Testing
    2 projects | dev.to | 19 Jan 2021
    When I start a project, I usually try to write the programs incrementally. Say I need to iterate over files from a directory. I will make sure that portion is working (usually with print() statements), then add another feature — say file reading and test that and so on. This reduces the burden of testing a large program at once at the end. And depending upon the nature of the program, I'll add a few sanity tests at the end. For example, for my command_help project, I copy pasted a few test runs of the program with different options and arguments into a separate file and wrote a program to perform these tests programmatically whenever the source code is modified.

murex

Posts with mentions or reviews of murex. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-16.
  • Show HN: a Rust Based CLI tool 'imgcatr' for displaying images
    12 projects | news.ycombinator.com | 16 Apr 2024
    This is how murex works too https://github.com/lmorg/murex/blob/master/config/defaults/p...
  • Xonsh: Python-powered, cross-platform, Unix-gazing shell
    12 projects | news.ycombinator.com | 14 Feb 2024
  • The Bun Shell
    17 projects | news.ycombinator.com | 20 Jan 2024
    I agree. I’ve written about this before but this is what murex (1) does. It reimplements some of coreutils where there are benefits in doing so (eg sed, grep etc -like parsing of lists that are in formats other than flat lines of text. Such as JSON arrays)

    Mutex does this by having these utilities named slightly different to their POSIX counterparts. So you can use all of the existing CLI tools completely but additionally have a bunch of new stuff too.

    Far too many alt shells these days try to replace coreutils and that just creates friction in my opinion.

    1. https://murex.rocks

  • Jaq – A jq clone focused on correctness, speed, and simplicity
    28 projects | news.ycombinator.com | 29 Nov 2023
    This is exactly what Murex shell does. It has lots of builtin tools for querying structured data (of varying formats) but also supports POSIX pipes for using existing tools like `jq` et al seamlessly too.

    https://murex.rocks

  • Murex rocks v5 is out
    1 project | news.ycombinator.com | 7 Sep 2023
  • The Case for Nushell
    7 projects | news.ycombinator.com | 30 Aug 2023
    Stable is a problem because a lot of these shells don’t offer any guarantees for breaking changes.

    My own shell, https://github.com/lmorg/murex is committed to backwards compatibility but even here, there are occasional changes made that might break backwards compatibility. Though I do push back on such changes as much as possible, to the extent that most of my scripts from 5 years ago still run unmodified.

  • Murex
    1 project | /r/devopspro | 23 Jun 2023
  • FLaNK Stack Weekly for 20 June 2023
    34 projects | dev.to | 20 Jun 2023
  • Show HN: A smarter Unix shell and scripting environment
    1 project | /r/hypeurls | 13 Jun 2023
  • Nushell.sh ls – where size > 10mb – –sort-by modified
    7 projects | news.ycombinator.com | 12 Mar 2023
    This is similar to how my shell works. It still just passes bytes around but additionally passes information about how those bytes could be interpreted. A schema if you will. So it works as cleanly with POSIX / GNU / et al tools as it does with fancy JSON, YAML, CSV and other document formats.

    It basically sits somewhere between Powershell and Bash: typed pipelines like Powershell but without sacrificing familiarity with all the CLI commands you already use day in and day out.

    https://github.com/lmorg/murex

    As an aside, I’m about to drop a massive update in the next few days that will make the shell even more intuitive to use.

What are some alternatives?

When comparing command_help and murex you can also consider the following projects:

hn-reader - A dark mode reader app for Hacker News

elvish - Powerful scripting language & Versatile interactive shell

pinpoint - Keystroke launcher and personal command central. Alternative to Spotlight and Alfred for Windows. Alternative to Wox, PowerToys.

nushell - A new type of shell

tera - Interactive Bash script terminal music radio player. Play your favorite radio station, CRUD your favorite lists, and explore new radio stations from your terminal.

tidy-viewer - 📺(tv) Tidy Viewer is a cross-platform CLI csv pretty printer that uses column styling to maximize viewer enjoyment.

sc2-replay-go

fx - Terminal JSON viewer & processor

ffupdate - A shellscript to automatically install and update firefox on linux.

jc - CLI tool and python library that converts the output of popular command-line tools, file-types, and common strings to JSON, YAML, or Dictionaries. This allows piping of output to tools like jq and simplifying automation scripts.

smenu - smenu started as a lightweight and flexible terminal menu generator, but quickly evolved into a powerful and versatile CLI selection tool for interactive or scripting use.

xonsh - :shell: Python-powered, cross-platform, Unix-gazing shell.