Skip to content

Commit 5c6c83d

Browse files
committed
Describe fstrings in @export directives
1 parent 5f6d933 commit 5c6c83d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/content/docs/reference/exports.md

+5
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,8 @@ Besides the above, there are format-specific parameters:
5151
| `format` | `csv`, `dsv` | The output-format of the exported data. Might be `int`, `double`, `string`, `rdf` or `skip`. |
5252

5353
When using the [Nemo command-line client](/nemo-doc/guides/cli), some cli options are available to override the export directives in the program, to set the output (base) directory, and to control if existing files should be overwritten.
54+
55+
The parameters in export directives can also make use of format strings, e.g.,
56+
```
57+
@export table :- csv{resource = f"file-{?x}-{?y}.csv"}, ?x = "name", ?y = 42 .
58+
```

0 commit comments

Comments
 (0)