Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

IMHO you'd right to be sceptical because for me, it is only a slightly more ergonomic way to organise and run shell scripts. It's difficult to make the case it's much better but I found it interesting how "just being a bit nicer" for a common activity can be a really valuable quality of life improvement.

- easier - core benefit is making it nicer to implement multiple commands with arguments without inventing something equivalent in shell

- convenient - with "fallback" just will search up the folder tree to find the just command so I don't need to be in the right folder. I have justfiles at multiple levels in a project hierarchy and my cwd works as context to pick the right command

- polyglot - can use different languages as needed

- predictable - it's so nice when I return to a project and I have recipes for setting up my env, various types of build and test. The consequence of being a little more ergonomic means I capture more useful command lines that, for whatever reason, I would not have made into shell scripts because of the added friction.



> with "fallback" just will search up the folder tree to find the just command

So don't have just-files in your home directory?


You could if you want.

If you don't want just to search outside of your project folder then don't set fallback in your project root justfile and it stops there.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: