TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Run – Easily manage and invoke small scripts and wrappers

107 pointsby TekWizelyover 5 years ago

10 comments

mmgutzover 5 years ago
I recently looked at many task runners. I settled on my own personal task runner only because of familiarity. I would switch to either of these if I wasn&#x27;t so heavily invested in my own tool.<p>[just](<a href="https:&#x2F;&#x2F;github.com&#x2F;casey&#x2F;just" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;casey&#x2F;just</a>) [task](<a href="https:&#x2F;&#x2F;github.com&#x2F;go-task&#x2F;task" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;go-task&#x2F;task</a>)<p>I&#x27;m not sure what Run does that the two above don&#x27;t.
评论 #21827851 未加载
评论 #21823686 未加载
brian_cloutierover 5 years ago
HN is known for snark so I should say I&#x27;m genuinely not trying to be snarky. I don&#x27;t understand why I would use this over a Makefile. The biggest difference is that &quot;run&quot; autogenerates nice help output?
评论 #21820935 未加载
评论 #21820888 未加载
bastihover 5 years ago
Having gone through writing a couple of iterations of these, I went back to settling on `PATH=&quot;.&#x2F;scripts&#x2F;:$PATH&quot;`, which in my project root dirs (where I spend 99% of my time anyway on the shell) just works.<p>Sure, this could be augmented with per-folder environments, fancy runner syntax, but less is more for me in this regard.<p>Ninja update: Anyway, I like what OP is doing here, seems like a lot of things are done right in this. :)
cgarvisover 5 years ago
reminds me of <a href="https:&#x2F;&#x2F;github.com&#x2F;tj&#x2F;robo" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;tj&#x2F;robo</a>.<p>Great job on releasing this. I was just thinking about all the scripts in my makefile. Separation of concerns. I’ll be giving it a try.
评论 #21820683 未加载
mc3over 5 years ago
This would be an interesting alternative to travis-ci or appveyor scripts (where you are locked in to that tech). By using this you can have scripts that run local or run on CI, and just have a one liner on travis-ci to call Run.
评论 #21821493 未加载
chabad360over 5 years ago
This is a great project, and I will be using it to both replace old scripts and make new ones.<p>Also, if you give me a week (I might be able to do it today or tomorrow tho), I&#x27;ll submit a PR for an Archlinux PKGBUILD.
评论 #21820673 未加载
geoelectricover 5 years ago
This looks pretty nice, and I like the idea of a universal help&#x2F;getopts syntax that can work over different execution engines (python, bash, etc.)<p>I just did a new install at home, and may try reimplementing some of my utility scripts in terms of this just to see how it plays.
blacksmith_tbover 5 years ago
How does run compare with expect[1]?<p>1: <a href="http:&#x2F;&#x2F;manpages.ubuntu.com&#x2F;manpages&#x2F;bionic&#x2F;man1&#x2F;expect.1.html" rel="nofollow">http:&#x2F;&#x2F;manpages.ubuntu.com&#x2F;manpages&#x2F;bionic&#x2F;man1&#x2F;expect.1.htm...</a>
评论 #21820476 未加载
评论 #21820504 未加载
评论 #21820461 未加载
kitdover 5 years ago
Good work.<p>I have done something similar by creating bash functions in a file then sourcing that, making them available as and when I want.<p>This looks nice though.
a_bandover 5 years ago
Nice work, TekWizely! This looks looks like a well thought out little tool with a good niche.
评论 #21820797 未加载