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

Task is in a similar problem space.

Unlike Just which clearly states it is not a build system [1], Task can be told about expected files so tasks can be skipped to avoid unnecessary work [2]. So if your task is to build software, IMO make and the others like Task would be better.

If your tasks only care about the success code from a process, and/or are a Rust fan instead of Go, then Just should be fine. Otherwise, for specific use-cases like CI, you are likely already coding in a proprietary YAML/JSON/XML format.

[1] https://github.com/casey/just/blob/e1b85d9d0bc160c1ac8ca3bca...

[2] https://taskfile.dev/usage/#prevent-unnecessary-work



The one thing that converted us from Taskfile to Justfile is how it handle parameters injected at instantiation.

https://just.systems/man/en/recipe-parameters.html just works better for us than https://taskfile.dev/usage/#forwarding-cli-arguments-to-comm...

We use Docker Compose for our dev environment and were trying to do something like (notice the extra dash dash for separating the arguments out):

    task poetry -- add requests django
It was not working as we expected for some of the users due to the argument dash dash stuff - they were forgetting due to muscle memory but the following does:

    just poetry add requests django
under the hood it was just calling (the equivalent):

    docker compose run --rm --build poetry poetry "$@"
Just arguments are more ergonomic.

This is how just does it:

    poetry +command:

        docker compose run --rm --build poetry poetry {{command}}


I agree with you: I automate many K8S command with task but everytime I forget about the - -

Having a better input system will be a great improvement from usability perspective


Currently, every few months, I switch between Task and Just. Started with Task, went to Just, now I'm using Task again. Procrastination at its best


Task creator here.

How do you evaluate each tool? What do you miss on each that keeps you switching between them?

I understand you, though. I keep switching between Firefox and Chrome-based browsers because each has its pros and cons...


Passing parameters kinda sucks, someone else made a comparison in another thread about named parameters and how easy it is to pass and define them in Just. Love taskfile otherwise


Input parameter with - - is not really intuitive. It works, but the just way to handle input parameters is way more easier to remember


Personally I disagree, I think `--` is very intuitive.

Maybe it isn't super common knowledge, but `--` is in line with the POSIX argument parsing convention[0] and is used by many (most?) GNU/BSD tools and many other tools such as `kubectl`. This StackOverflow thread[1] also has some information about it.

[0] https://www.gnu.org/software/libc/manual/html_node/Argument-...

[1] https://unix.stackexchange.com/questions/11376/what-does-dou...


I unironically like the YAML format. It's very readable, imho, and most people (at least in the web space) already know it. It's better than the way just does attributes and descriptions.

On the other hand, what irks me is how parameters are fiddly to pass along. You have to define environment variables, instead of jusst passing them directly in the call.




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

Search: