Skip to content

Commit 0c2a8ca

Browse files
committed
added tip on variable names on kool.yml
1 parent acad708 commit 0c2a8ca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/1-Getting-Started/3-How-it-works.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ For example, use the `artisan` script in Laravel's **kool.yml** as follows:
9494
kool run artisan tinker
9595
```
9696

97+
> **Tip**: be careful with the syntax of the environment variables used in scripts within `kool.yml`. It's recommended that you always escape the variable name properly to avoid parsing issues: `${ENV_NAME}` - by using `${}` you make explicit the boundaries of the variable name helping, thus to avoid confusion.
98+
9799
#### Types of Commands
98100

99101
The **kool.yml** file is not just for **kool** commands. You can add any type of command that you usually run in your shell, such as `cat`, `cp`, `mv`, etc.

0 commit comments

Comments
 (0)