FHIR Chat · way to turn off sushi and just run the publisher · shorthand

Stream: shorthand

Topic: way to turn off sushi and just run the publisher


view this post on Zulip Eric Haas (Jun 04 2020 at 17:51):

To just run the ig-pub, I use a bash script to renaming the fsh so it doesn't automatically run sushi. This way I can manually update and customized the input files post sushi and just run the ig-pub. Is there already a simpler way to do this like a parameter on the ig-pub?

view this post on Zulip Chris Moesel (Jun 04 2020 at 17:55):

You could go the other way -- and have your folder w/ fsh files permanently named something else (like shorthand or sushi) so the IG publisher never runs SUSHI. Then have a script that calls sushi ./shorthand -o . -- which is essentially what the publisher would have run if the folder was named fsh. Or am I missing the point?

view this post on Zulip Jose Costa Teixeira (Jun 04 2020 at 18:12):

So you want to activate or deactivate the running on sushi on the command line?

view this post on Zulip Jose Costa Teixeira (Jun 04 2020 at 18:14):

I keep them separate. I have a folder for shorthand NOT called fsh. When I want to run sushi, I do it manually. Then I copy the files manually

view this post on Zulip Eric Haas (Jun 04 2020 at 18:30):

I like options so I have a command line with parameters for: suhi-only, ig-pub only, both

view this post on Zulip Jose Costa Teixeira (Jun 04 2020 at 18:49):

Looking at the code, I don't think the publisher can be told to bypass sushi

view this post on Zulip Chris Moesel (Jun 04 2020 at 19:33):

It seems like a fair request, though. Before we ask for it though, are you thinking maybe a flag? Like --skip-sushi or something?

view this post on Zulip Jose Costa Teixeira (Jun 04 2020 at 19:35):

Chris Moesel said:

It seems like a fair request, though. Before we ask for it though, are you thinking maybe a flag? Like --skip-sushi or something?

I'd like "-no-sushi" (actually I think I'd prefer a "-sushi" option)...

view this post on Zulip Jose Costa Teixeira (Jun 04 2020 at 19:36):

But I assume the pun masters (those are delicious) can come up with a nice parameter name :)

view this post on Zulip Grahame Grieve (Jun 04 2020 at 21:05):

next release will support the -no-sushi command


Last updated: Apr 12 2022 at 19:14 UTC