Just reorganization (part 1) released

Hello everyone!
We just released part 1 of a bigger just reorganization.

Just changes

If you run the command ujust now, you will notice that some commands have disappeared and we have gotten some new commands.
This is done to address the growing inconsistency we had with just recipe naming and the high amount of commands.



Choice prompt!

You will also see that the new commands have the ACTION="prompt" as an argument, all of these commands will now open a choice selection where you can select the option you want.
Here is an example of the ujust setup-nix command.
image

This will utilize either gum or fzf to provide the choice selections, here is an example of the fzf variant.



Automation and scripting!

Now, since we know some people also like to automate things (and to make it possible to use this through Yafti), these commands also support quick actions, which skips the choice selection and just does the action you told it to do.
You can get the list of supported actions by passing help to the command.

Standardized names!

The new standardization for command names are as follows:

  • setup- will let you install/remove/configure something that is not included in the image
  • configure- let’s you configure a pre-installed feature/application
  • install- this will install something and there is no remove/uninstall option available
  • toggle- this is an on/off switch for something
  • fix- this will provide a fix/workaround for something (ex: screensharing on wayland)
  • thing replace thing with whatever short memorable command, this is reserved for things that should do specific things that do not match our naming convention (ex: ujust update) and reserved for aliases.

This is just part 1 of this reorganization, we do plan to shrink down the ujust distrobox- commands to just 1 or 2, but it will require extra work to get done.
We have also not done the just commands exclusive to Bluefin or Bazzite yet, as we needed this part to land first.

Future changes

Part 2 will just be a backend refinement and simplification before part 3 which will include the remainder of the commands in Bluefin and Bazzite.
Some of the output might also get a splash of color in the future too!

Any feedback about this update is welcome.

6 Likes