Skip to content

Commit

Permalink
added tip on variable names on kool.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fabriciojs committed Dec 22, 2022
1 parent acad708 commit 0c2a8ca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/1-Getting-Started/3-How-it-works.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ For example, use the `artisan` script in Laravel's **kool.yml** as follows:
kool run artisan tinker
```

> **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.

#### Types of Commands

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.
Expand Down

0 comments on commit 0c2a8ca

Please sign in to comment.