Given: A git repository containing a TOML definition
And: The output file set to Sample-$Version.pptx
And: The TOML definition loaded into the UI
When: Pressing export
Then: Suggestion file name is as above, with $Version replaced by the git repository version
Given: Above, plus template slides has $Version in the slide notes
When: Exporting from UI
And: Loading resulting pptx in PowerPoint
Then: $Version replaced by the git repository version
Note that the second scenario already works in the CLI version. The challenge is getting the version number FROM the underlying git repository where the TOML file lives. In the CLI, this is easier.
Given: A git repository containing a TOML definition And: The output file set to
Sample-$Version.pptx
And: The TOML definition loaded into the UI When: Pressing export Then: Suggestion file name is as above, with$Version
replaced by the git repository versionGiven: Above, plus template slides has
$Version
in the slide notes When: Exporting from UI And: Loading resulting pptx in PowerPoint Then:$Version
replaced by the git repository versionNote that the second scenario already works in the CLI version. The challenge is getting the version number FROM the underlying git repository where the TOML file lives. In the CLI, this is easier.