ghost-inspector / node-ghost-inspector

Ghost Inspector CLl & API Library for Node.js
https://ghostinspector.com/docs/api/
MIT License
28 stars 6 forks source link

add ability to provide raw JSON input for command options #33

Closed aaronfay closed 3 years ago

aaronfay commented 3 years ago

This mostly accommodates scenarios where the options for command input may already be in JSON format. These could be modified from {"an-option": "foobar"} to --an-option foobar with jq but some fussing would be required. This change will allow us to just pass through the JSON to any command that accepts options using a new --jsonInput parameter.

aaronfay commented 3 years ago

@justinklemm could you roll this change out when you have a minute 🙏🏻