Skip to content

Commit

Permalink
Added a new example for running script with arguments
Browse files Browse the repository at this point in the history
Signed-off-by: Charles d'Avernas <charles.davernas@neuroglia.io>
  • Loading branch information
cdavernas committed Aug 7, 2024
1 parent 0f4e886 commit 0702aef
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions examples/run-script-with-arguments.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
document:
dsl: 1.0.0-alpha1
namespace: samples
name: run-script-with-arguments
version: 0.1.0
do:
- log:
run:
script:
language: javascript
arguments:
message: ${ .message }
code: >
console.log(message)

0 comments on commit 0702aef

Please sign in to comment.