newrelic-cli
newrelic-cli copied to clipboard
CRUD commands: Support passing a JSON file and/or a YAML file
Objective
Since users likely will want to use JSON files and/or YAML files that represent resource configuration, we need to provide a way for them to do so.
Acceptance Criteria
- A mechanism is in place providing the ability to pass a JSON and/or YAML file to a command
- The mechanism can be via
stdin
or via a command flag, but it could potentially be beneficial to have both. - Documentation and a general example is provided