out_file

Output the data to the file.

Description

  • Output the data to the file.

Parameters

Parameter

Type

Required

Default

Comment

path

path

Yes

-

The path to the file to output.

src

str

Yes

-

Data to output.

Examples

# Output hello to test.txt
- out_file:
    name: "out"
    path: "./test.txt"
    src: "hello"

# Output csv data in blackboard to test.txt
- out_file:
    name: "out"
    path: "./test.txt"
    src: "{{ bb.csv }}"