Skip to content

Commit

Permalink
Update 03.scripts.md (#429)
Browse files Browse the repository at this point in the history
Fix/improve a few links
  • Loading branch information
yuri1969 authored Aug 11, 2023
1 parent 73e4792 commit 37c4b59
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions content/docs/05.developer-guide/03.scripts.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ The following table gives an overview of all script tasks and their configuratio

| Language | Default `image` | `beforeCommands` example | `Script` example | `Commands` example |
| ---------- | -------------------------------------------------------------------------- | -------------------------------------- | ---------------------------- | ---------------------------------- |
| Python | python | pip install requests kestra | print("Hello World!") | python [hello.py](http://hello.py) |
| Python | python | pip install requests kestra | print("Hello World!") | python hello.py |
| R | r-base | Rscript -e "install.packages('dplyr')" | print("Hello World!") | Rscript hello.R |
| Node.js | node | npm install json2csv | console.log('Hello World!'); | node hello.js |
| Shell | ubuntu | apt-get install curl | echo "Hello World!" | ./hello.bash |
| Powershell | [powershell](http://mcr.microsoft.com/powershell) | Install-Module -Name ImportExcel | Write-Output "Hello World!" | .\hello.ps1 |
| Powershell | [powershell](https://mcr.microsoft.com/powershell) | Install-Module -Name ImportExcel | Write-Output "Hello World!" | .\hello.ps1 |


**Full class names:**
Expand Down Expand Up @@ -550,7 +550,7 @@ All tasks within the `WorkingDirectory` can use output artifacts from previous t

## Generating outputs from a script task using `{{outputDir}}`

If you want to generate files in your script to make them available for download and use in downstream tasks, you can leverage the `outputDir` [variable](03.variables/). Files stored in that directory will be persisted in Kestra's internal storage. Here is an example:
If you want to generate files in your script to make them available for download and use in downstream tasks, you can leverage the `outputDir` [variable](03.variables/01.index.md). Files stored in that directory will be persisted in Kestra's internal storage. Here is an example:

```yaml
id: outputTest
Expand Down

1 comment on commit 37c4b59

@vercel
Copy link

@vercel vercel bot commented on 37c4b59 Aug 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

kestra-io – ./

kestra-io-git-main-kestra.vercel.app
kestra-io-kestra.vercel.app
kestra-io.vercel.app

Please sign in to comment.