Skip to content

Commit

Permalink
Document set working-directory (#2288)
Browse files Browse the repository at this point in the history
  • Loading branch information
nyurik authored Aug 2, 2024
1 parent c2207a9 commit cf4c726
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -772,6 +772,23 @@ $ just foo
/subdir
```

You can override working directory with `set working-directory := '…'`, whose value
is relative to the default working directory.

```just
set working-directory := 'bar'
@foo:
pwd
```

```sh
$ pwd
/home/bob
$ just foo
/home/bob/bar
```

### Aliases

Aliases allow recipes to be invoked on the command line with alternative names:
Expand Down

0 comments on commit cf4c726

Please sign in to comment.