We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d02597 commit 2cfd023Copy full SHA for 2cfd023
README.md
@@ -1490,6 +1490,19 @@ braces:
1490
echo 'I {{ "{{" }}LOVE}} curly braces!'
1491
```
1492
1493
+#### Lazy Evaluation
1494
+
1495
+By default, variables are evaluated when they are defined. If you would like a
1496
+variable to only be evaluated when it is used for the first time, you can use the
1497
+`lazy` keyword:
1498
1499
+```just
1500
+lazy password := `aws ecr get-login-password --region us-west-2`
1501
+```
1502
1503
+This is useful for values that are expensive to compute, or that may not be
1504
+needed in every invocation of `just`.
1505
1506
### Strings
1507
1508
`'single'`, `"double"`, and `'''triple'''` quoted string literals are
0 commit comments