[{"data":1,"prerenderedAt":381},["ShallowReactive",2],{"project-12097856":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":28,"sentiment":29,"stance_mix":30,"scored_comments":35,"aspects":36,"strip":43,"post_text":45,"what":46,"said":78,"maker_in_thread":166,"shape":171,"grid":176,"attempts":341,"same_week":346,"maker_shows":38,"maker_hidden":374,"reader_version":375,"card":376},"12097856","m-cli","Swiss Army Knife for Mac OS X","title","Show HN: Swiss Army Knife for Mac OS X","https:\u002F\u002Fgithub.com\u002Frgcr\u002Fm-cli","github.com","rgcr",1468537509,2016,388,62,36,2264,2,"legend","dev_tools","command line utility","cli",[24,25,26,27],"mac os x","command line","shell scripts","macos administration","mixed",-0.27,{"positive":31,"neutral":32,"mixed":33,"critical":34},3,10,0,8,21,{"idea":37,"design":39,"docs":40,"execution":41,"privacy":42},{"positive":18,"critical":38},1,{"positive":38,"critical":18},{"positive":33,"critical":33},{"positive":33,"critical":31},{"positive":33,"critical":38},[44,31,33,31,33,33,31,33,44,44,33,33,33,33,31,38,38,33,38,38,33,33,33,33,33,31,33,33,33,38,38,38,33,33,33,33,33,38,31,33],5,null,{"problem":47,"audience":59,"pricing":45,"motivation":45,"time_to_build":45,"stack":64,"openness":76,"stage":77,"team_size":77},{"value":48,"source":49,"evidence":50},"Mac admin tasks like locking, keeping awake, and showing hidden files need obscure commands","commenter",[51,55],{"id":52,"by":53,"text":54},"12098057","koenigdavidmj","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…",{"id":56,"by":57,"text":58},"12099975","nicolas_t","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…",{"value":60,"source":49,"evidence":61},"Mac administrators and power users",[62,63],{"id":52,"by":53,"text":54},{"id":56,"by":57,"text":58},[65],{"value":66,"source":49,"evidence":67},"sh (shell script)",[68,72],{"id":69,"by":70,"text":71},"12098108","jfb","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.",{"id":73,"by":74,"text":75},"12098178","eddieh","Someone would ask why not write it in sh, if it was written in Python, Ruby, Perl, or Tcl. I prefer stuff like this in sh.","open_source","unknown",{"praise":79,"objections":92,"requests":122,"questions":130,"alternatives":146},[80,85],{"value":81,"source":49,"evidence":82},"Focused on Mac-specific tasks rather than cross-platform commands",[83,84],{"id":56,"by":57,"text":58},{"id":52,"by":53,"text":54},{"value":86,"source":49,"evidence":87},"Modular plugins let users install only the functions they want",[88],{"id":89,"by":90,"text":91},"12098264","donretag","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…",[93,108,115],{"value":94,"source":49,"evidence":95},"Install method piped curl to shell and needs root for \u002Fusr\u002Flocal",[96,100,104],{"id":97,"by":98,"text":99},"12097982","Lio","Not sure I like the install method. I'm nervous of anything that asks me to pipe curl to shell.",{"id":101,"by":102,"text":103},"12099122","64bitbrain","Does it need to be ran as root? Downloading m-cli from git to \u002Fusr\u002Flocal fatal: could not create work tree dir '\u002Fusr\u002Flocal\u002Fm-cli': Permission denied Failed to clone =>…",{"id":105,"by":106,"text":107},"12098688","curun1r","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…",{"value":109,"source":49,"evidence":110},"Some commands fail, such as the dir tree plugin missing a library file",[111],{"id":112,"by":113,"text":114},"12098640","bubbleRefuge","m dir tree returns: \u002Fusr\u002Flocal\u002Fm-cli\u002Fplugins\u002Fdir: line 3: \u002Flib\u002Ffunctions.sh: No such file or directory",{"value":116,"source":49,"evidence":117},"Similar to aliases or learning the command line",[118],{"id":119,"by":120,"text":121},"12100721","JustSomeNobody","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,…",[123],{"value":124,"source":49,"evidence":125},"Add screenshot, photo, and recording commands",[126],{"id":127,"by":128,"text":129},"12098053","javajosh","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…",[131,142],{"value":132,"source":49,"evidence":133},"Why not use Mac-CLI instead",[134,138],{"id":135,"by":136,"text":137},"12098660","hammerha","There's a more popular but similar project. https:\u002F\u002Fgithub.com\u002Fguarinogabriel\u002Fmac-cli Has anyone used both?",{"id":139,"by":140,"text":141},"12099750","ralfd","It literally says on the github page of OP submission, that Mac-CLI was inspiration. HNews discussion about it 3 weeks ago: https:\u002F\u002Fnews.ycombinator.com\u002Fitem?id=11977162 But I…",{"value":143,"source":49,"evidence":144},"Why written in sh rather than another language",[145],{"id":69,"by":70,"text":71},[147,152,159],{"value":148,"source":49,"evidence":149},"mac-cli",[150,151],{"id":135,"by":136,"text":137},{"id":139,"by":140,"text":141},{"value":153,"source":49,"evidence":154},"caffeinate and pmset",[155],{"id":156,"by":157,"text":158},"12098551","paxswill","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…",{"value":160,"source":49,"evidence":161},"Karabiner",[162],{"id":163,"by":164,"text":165},"12098606","bigboat","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).…",{"comments":38,"answered":38,"key":167},[168],{"id":169,"text":170},"12100580","I think @koenigdavidmj has the answer :)",{"commenters":172,"max_depth":173,"maker_replies":38,"first_comment_mins":174,"lifespan_hours":175},51,6,26,138,[177,179,183,187,190,194,195,198,200,202,203,205,207,208,210,213,216,217,221,224,227,230,233,235,239,243,245,248,250,253,255,258,261,264,266,270,273,276,278,281,285,288,291,293,295,296,298,301,303,307,309,312,315,318,321,323,326,329,331,335,337,338],[52,33,44,178,53,33],"project\u002Fpositive\u002Fidea",[180,33,31,181,182,33],"12098167","project\u002Fneutral\u002Fidea","jonhohle",[184,33,33,185,186,33],"12098414","commenter\u002Fneutral\u002Fnone","jzelinskie",[188,33,33,185,189,33],"12098559","ytjohn",[191,33,33,192,193,33],"12100318","other\u002Fneutral\u002Fnone","krrrh",[156,33,31,181,157,33],[196,33,33,185,197,33],"12100062","therealmarv",[199,33,33,185,157,33],"12106873",[201,33,33,185,197,33],"12130818",[135,38,31,181,136,33],[139,38,33,204,140,33],"commenter\u002Fcritical\u002Fidea",[169,38,33,206,11,38],"maker\u002Fneutral\u002Fnone",[56,38,44,178,57,33],[89,18,44,209,90,33],"project\u002Fpositive\u002Fdesign",[211,18,33,192,212,33],"12098378","sn0v",[214,18,33,192,215,33],"12098380","smnscu",[163,18,33,192,164,33],[218,31,33,219,220,33],"12099090","other\u002Fneutral\u002Fidea","legulere",[222,31,33,192,223,33],"12099287","Scarbutt",[225,31,33,185,226,33],"12099736","SG-",[228,31,33,185,229,33],"12100491","danbee",[231,31,33,185,232,33],"12102554","Alphasite_",[127,234,31,181,128,33],4,[236,44,38,237,238,33],"12100333","project\u002Fcritical\u002Fdesign","stereo",[240,44,31,241,242,33],"12123844","maker\u002Fneutral\u002Fdocs","JadeNB",[101,173,38,244,102,33],"project\u002Fcritical\u002Fexecution",[246,173,33,185,247,33],"12099135","planb",[249,173,31,241,242,33],"12123855",[119,251,38,252,120,33],7,"project\u002Fcritical\u002Fidea",[97,34,38,254,98,33],"project\u002Fcritical\u002Fprivacy",[256,34,33,185,257,33],"12098009","arnarbi",[259,34,33,185,260,33],"12098895","beachstartup",[262,34,33,185,263,33],"12099001","ghshephard",[265,34,33,185,260,33],"12099059",[267,34,33,268,269,33],"12100168","other\u002Fneutral\u002Fprivacy","seanwilson",[271,34,33,192,272,33],"12100338","yoz-y",[274,34,33,268,275,33],"12100890","pjmlp",[277,34,33,268,269,33],"12104184",[279,34,33,185,280,33],"12104866","slrz",[282,34,31,283,284,33],"12098022","project\u002Fneutral\u002Fprivacy","auvi",[286,34,33,185,287,33],"12098249","theseoafs",[289,34,33,185,290,33],"12098701","jlgaddis",[292,34,33,185,232,33],"12102569",[294,34,33,192,128,33],"12098029",[105,34,38,244,106,33],[297,34,31,241,242,33],"12123886",[299,34,31,283,300,33],"12099173","barefootcoder",[112,302,38,244,113,33],9,[304,32,38,305,306,33],"12098011","maker\u002Fcritical\u002Fnone","miles",[308,32,33,185,128,33],"12098059",[310,32,33,185,311,33],"12098377","privong",[313,32,33,185,314,33],"12098392","kkirsche",[316,32,33,185,317,33],"12098134","visionscaper",[319,32,33,185,320,33],"12098163","mohsinr",[322,32,33,185,306,33],"12098195",[324,32,33,185,325,33],"12098328","sulam",[327,32,33,185,328,33],"12099598","fapjacks",[69,330,38,237,70,33],11,[332,330,31,333,334,33],"12098170","project\u002Fneutral\u002Fdesign","davej",[336,330,33,185,70,33],"12098183",[73,330,33,185,74,33],[339,330,33,185,340,33],"12098255","pfranz",[342,345],{"id":343,"t":344,"points":234,"comments":38},"12071456",1468248967,{"id":4,"t":12,"points":14,"comments":15},[347,351,356,359,364,369],{"id":348,"name":349,"points":350,"category":20},"12099876","Material Kit",180,{"id":352,"name":353,"points":354,"category":355},"12115187","Language Evolution Simulation",159,"learning_science",{"id":357,"name":358,"points":175,"category":20},"12125112","HTTPolice",{"id":360,"name":361,"points":362,"category":363},"12128147","I connected my house lights to video games",127,"hardware",{"id":365,"name":366,"points":367,"category":368},"12131406","Docparser",107,"data",{"id":370,"name":371,"points":372,"category":373},"12114305","otherside.site",106,"web_saas",false,"v2",{"id":377,"name":5,"line":6,"ai":374,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":29,"top":18,"kw":378,"maker":11,"domain":10,"tier":19,"attempts":18,"strip":379,"url":9,"mix":380,"praise":81,"objection":94,"sub":21},12097856,[24,25,26,27],"5303003055000031101100000300011100000130",[31,32,33,34],1794036545859]