Stream: shorthand
Topic: Filename override
Jose Costa Teixeira (Aug 06 2020 at 06:26):
I'm generating NamingSystems and they end up in the examples folder (because they are instances). I want them in the vocabulary folder
Can we have a
* filename =
override when declaring a resource?
suggestion for syntax:
filename =
is a path / filename related to sushi's output folder (which is may be the igroot\input folder, but that is another discussion)
filename = myFolder/my-resource-id
creates the myresourceid.json
in the myFolder
folder
filename = myFolder/*
or filename = myFolder/
uses the folder foldername but gets the filename from the resource id - and creates the file called {resource-id}
in the myFolder
folder
David Hay (Aug 06 2020 at 08:37):
That's weird - mine wind up in vocabulary... You're setting usage to #definition?
Jose Costa Teixeira (Aug 06 2020 at 10:56):
maybe i missed that.
Jose Costa Teixeira (Aug 06 2020 at 10:57):
I did miss that
Jose Costa Teixeira (Aug 06 2020 at 10:57):
thanks, and apologies
Jose Costa Teixeira (Aug 06 2020 at 10:58):
I think the filename override would still make sense
Last updated: Apr 12 2022 at 19:14 UTC