The code for the CLI can be found on github. I guess you could fork it and tweak it a bit to accept comment or tags which publish only on one location. Then you could pass as an argument the target and it'd generate only what's needed for the target environment? Maybe there's a simple solution not sure just sharing what comes first to my mind
Log in to continue
We're a place where coders share, stay up-to-date and grow their careers.
I've built a CLI to publish on dev.to from the command line (and therefore on CI for example). It's here : dev.to/maxime1992/manage-your-dev-...
The code for the CLI can be found on github. I guess you could fork it and tweak it a bit to accept comment or tags which publish only on one location. Then you could pass as an argument the target and it'd generate only what's needed for the target environment? Maybe there's a simple solution not sure just sharing what comes first to my mind