-
Notifications
You must be signed in to change notification settings - Fork 476
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.
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, likepath_from_windows()
,path_from_unix()
, andpath_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
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.
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