Skip to content

Commit

Permalink
Describe fstrings in @export directives
Browse files Browse the repository at this point in the history
  • Loading branch information
mmarx committed Jan 14, 2025
1 parent 5f6d933 commit f4a4e16
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/content/docs/reference/exports.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,8 @@ Besides the above, there are format-specific parameters:
| `format` | `csv`, `dsv` | The output-format of the exported data. Might be `int`, `double`, `string`, `rdf` or `skip`. |

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.

+The parameters in export directives can also make use of format strings, e.g.,
+```
+@export table :- csv{resource = f"file-{?x}-{?y}.csv"}, ?x = "name", ?y = 42 .
+```

0 comments on commit f4a4e16

Please sign in to comment.