[Quality] Add just
file to script docker tasks
#1718
Labels
🚦 status: awaiting triage
Has not been triaged & therefore, not ready for work
Projects
Current Situation
Currently our README is full of specific docker commands that you have to run to do certain things like attach to the airflow container, read airflow logs, and start the services themselves.
Suggested Improvement
We could improve this by using the
just
utility (available cross-platform) which is very similar tomake
but purpose made for being a command runner (whereasmake
is really a build system that gets abused as a command runner).Benefit
A few benefits:
just
then runjust start
for example)just attachairflow
,just logs
, etc)just
recipes.Additional context
One advantage
make
has overjust
(and this is huge) is thatmake
is preinstalled on many machines, whereasjust
is not preinstalled anywhere.just
has better ergonomics, however, for command running thanmake
. For example, inmake
when you want to create a command you have to also add thePHONY
tag to avoid accidentally interacting with the filesystem. You also cannot pass extra arguments tomake
commands, whereasjust
allows you to do so explicity.Implementation
The text was updated successfully, but these errors were encountered: