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.

Create an internal CLI using Just

38 pointsby chaychoong9 months ago

3 comments

d0mine9 months ago
To discourage bash outside shell one-liners (where it is appropriate), fabric&#x2F;invoke could be used. Bash&#x2F;ssh commands are glued together using Python:<p><a href="https:&#x2F;&#x2F;docs.fabfile.org&#x2F;en&#x2F;latest&#x2F;getting-started.html#addendum-the-fab-command-line-tool" rel="nofollow">https:&#x2F;&#x2F;docs.fabfile.org&#x2F;en&#x2F;latest&#x2F;getting-started.html#adde...</a><p>If you are Python dev, you could specify Python dependencies for script using pep 723 <a href="https:&#x2F;&#x2F;iscinumpy.dev&#x2F;post&#x2F;pep723&#x2F;" rel="nofollow">https:&#x2F;&#x2F;iscinumpy.dev&#x2F;post&#x2F;pep723&#x2F;</a> (nix might be an overkill).<p>For notebooks, workflows, personal playbooks, notes Org Babel could be used (emacs) Here&#x27;s example code blocks in Haskell (but many other languages can be used such as shell, jupyter, plantuml) <a href="https:&#x2F;&#x2F;youtu.be&#x2F;1qOFYluebBg?si=muGfsaC1kI7Cgpyw" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;1qOFYluebBg?si=muGfsaC1kI7Cgpyw</a><p>One of my favorite features are subtree specific settings that enable remote shell commands by configuring :dir to &#x2F;ssh:host:
评论 #41339332 未加载
ivanjermakov9 months ago
What is the benefit of using shiny new `just` instead of an industry-standard `make`?
评论 #41337999 未加载
评论 #41339632 未加载
评论 #41338550 未加载
评论 #41338305 未加载
nunez9 months ago
&gt; What about org-wide things, like installing useful tools, generating boilerplate code, or running complex AWS commands that no one remembers?<p>You can do all of this with make and make includes.