mirror of
https://github.com/casey/just.git
synced 2024-11-22 02:09:44 +03:00
Document that invocation_directory()
returns an absolute path (#1162)
This commit is contained in:
parent
7800c56c95
commit
32e15a2e51
@ -915,7 +915,7 @@ $ just
|
||||
|
||||
#### Invocation Directory
|
||||
|
||||
- `invocation_directory()` - Retrieves the path of the current working directory, before `just` changed it (chdir'd) prior to executing commands.
|
||||
- `invocation_directory()` - Retrieves the absolute path to the current directory when `just` was invoked, before `just` changed it (chdir'd) prior to executing commands.
|
||||
|
||||
For example, to call `rustfmt` on files just under the "current directory" (from the user/invoker's perspective), use the following rule:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user