Skip to content

Feature Ideas

Casey Rodarmor edited this page Jun 13, 2017 · 6 revisions

These are things which might be cool, but are still in the fuzzy idea stage.

support for paths and file variables

String variables whose values are files and paths are common in justfiles.

It might be nice to provide better support for this. Some ideas:

  • path(string) constructor for building paths. Should maybe call out that this will perform the conversion according to the environment, like path_from_windows(), path_from_unix(), and path_from_local()
  • A / operator for joining path components. Don't need to worry if one part already has a /
  • Abstract over / and \ separated paths so it works on both windows and unix
  • Provide some useful functions that operate on paths, such as converting to an absolute path, popping off a path component, and the like
  • A . variable which is the directory that contains the justfile
  • A justfile variable which is the path to the justfile
  • Perhaps also a file(string) function which throws an error if there is a path component

a shared repository of recipes

An online repository where users can submit just commands, which can then be given names in a registry. Lots of security and other considerations here, but it would allow people to keep generic recipes out of their justfiles.

Rename just and justfile to something obvious

If people see a file called Justfile they might just ignore it. If it were called Commands or something like that, its purpose would probably be much more obvious to someone not familiar with the tool

Clone this wiki locally