m-cli

Dev tools

command line utility

SHOW HN2016

388points
62comments
#36of 2,264 in 2016
Top 2%of 2016 by points

How HN took it

MixedNo clear lean

3 positive, 10 neutral or asking, 0 mixed, 8 critical, out of 21 comments about the project. Thread score -0.27.

Idea: 2 for, 1 againstDesign: 1 for, 2 againstExecution: 0 for, 3 againstPrivacy: 0 for, 1 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Focused on Mac-specific tasks rather than cross-platform commands

    From 2 comments
    • I find that mac-cli is too unfocused with functions like ssh, tar, magento support, mysql support which are not really needed and common between platforms. I like the exclusive…
      nicolas_t on HN
    • The last one of these that popped up on HN replaced a lot of the common UNIX commands, and a lot of people here rightly asked 'why would I run "mac tar:extract" when I could just…
      koenigdavidmj on HN
  • Modular plugins let users install only the functions they want

    From 1 comment
    • I like how each function is contained in an individual plugin file. I can install (create a local script) which plugins I want without needing to install them all. Even if you do…
      donretag on HN

Objections

  • Install method piped curl to shell and needs root for /usr/local

    From 3 comments
    • Not sure I like the install method. I'm nervous of anything that asks me to pipe curl to shell.
      Lio on HN
    • Does it need to be ran as root? Downloading m-cli from git to /usr/local fatal: could not create work tree dir '/usr/local/m-cli': Permission denied Failed to clone =>…
      64bitbrain on HN
    • Also not to like about the install method: The install.sh stores INSTALL_DIR in a variable but does not allow that variable to be overridden by the environment. So you're forced…
      curun1r on HN
  • Some commands fail, such as the dir tree plugin missing a library file

    From 1 comment
    • m dir tree returns: /usr/local/m-cli/plugins/dir: line 3: /lib/functions.sh: No such file or directory
      bubbleRefuge on HN
  • Similar to aliases or learning the command line

    From 1 comment
    • As opposed to alias in bashrc for the commands you use most often? This and the other one that was on HN a short while back, I just don't get the point. Learn the command line,…
      JustSomeNobody on HN

Requests

  • Add screenshot, photo, and recording commands

    From 1 comment
    • I like it! I wish it had some features for making a screenshot, taking a photo, and recording video or sound for n seconds. A packet capture for n seconds might be nice, too…
      javajosh on HN

Questions

  • Why not use Mac-CLI instead

    From 2 comments
    • There's a more popular but similar project. https://github.com/guarinogabriel/mac-cli Has anyone used both?
      hammerha on HN
    • It literally says on the github page of OP submission, that Mac-CLI was inspiration. HNews discussion about it 3 weeks ago: https://news.ycombinator.com/item?id=11977162 But I…
      ralfd on HN
  • Why written in sh rather than another language

    From 1 comment
    • I"m curious about why it's written in sh, given that it's OS X only and OS X includes by default many languages significantly less crappy than Borne Shell.
      jfb on HN

Alternatives named

  • mac-cli

    From 2 comments
    • There's a more popular but similar project. https://github.com/guarinogabriel/mac-cli Has anyone used both?
      hammerha on HN
    • It literally says on the github page of OP submission, that Mac-CLI was inspiration. HNews discussion about it 3 weeks ago: https://news.ycombinator.com/item?id=11977162 But I…
      ralfd on HN
  • caffeinate and pmset

    From 1 comment
    • The basic command for keeping the machine awake is `caffeinate`, and has a few other nice options like changing what kind of sleep is prevented (disk, display, system) and also…
      paxswill on HN
  • Karabiner

    From 1 comment
    • Karabiner allows you to change the default behavior of the volume keys to use quarter steps with the "Fine grained volume controls" option (it simply adds the alt+shift for you).…
      bigboat on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/12097856)