TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

107 点作者 TekWizely超过 5 年前

10 条评论

mmgutz超过 5 年前
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_cloutier超过 5 年前
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 未加载
bastih超过 5 年前
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. :)
cgarvis超过 5 年前
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 未加载
mc3超过 5 年前
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 未加载
chabad360超过 5 年前
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 未加载
geoelectric超过 5 年前
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_tb超过 5 年前
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 未加载
kitd超过 5 年前
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_band超过 5 年前
Nice work, TekWizely! This looks looks like a well thought out little tool with a good niche.
评论 #21820797 未加载