jaikit-flows
Login

hello_world — Hello world — read a file and write a greeting

sha=b2db279eccce · visibility=admin · tags=demo, smoke
✅ Preflight OK — tous les composants requis sont disponibles.
id: hello_world
name: Hello world — read a file and write a greeting

owner: admin
visibility: admin
tags: [demo, smoke]

triggers:
  - type: manual

inputs:
  greeting:
    type: str
    default: "Bonjour"

env:
  OUT_DIR: ./data/runs

steps:

  - id: read_readme
    node: fs.read
    with:
      path: ./README.md

  - id: write_greeting
    node: fs.write
    with:
      path: ${{ env.OUT_DIR }}/last_hello.txt
      content: |
        ${{ inputs.greeting }} depuis jaikit-flows.
        Run id  : ${{ run.id }}
        README  : ${{ steps.read_readme.outputs.bytes }} bytes lus.