Running plugin option from Windows command line

  • This might be a naïve question, but if you don’t ask, you never know.
    I use the JSON Formatter under NP++ a lot in my job.
    The problem I see with this is that I have to open every file, then run the formatter plugin manually.
    What I would like to do is to be able to run the plugin formatter, specifying my input file, (possibly) an output file, and some sort of error file (in case the file content wasn’t valid).
    Basically, I suppose I’m asking whether anyone knows of a way of formatting a swagger/schema file (via a Windows command) such that any error can be picked up.
    I would be doing this at work (as well), so anything that requires installation of “unusual” s/w is out of the question.
    All suggestion gratefulle received.

  • @Michael-Simpson

    If you want to do this from the command line, why don’t you just use jq? There is a Windows version for it.


Log in to reply