nats-io / natscli

The NATS Command Line Interface
Apache License 2.0
510 stars 99 forks source link

(#1136) Use loadConfigFile in edit action #1142

Closed ploubser closed 2 months ago

ploubser commented 3 months ago

Update the edit action to use the loadConfigFile function instead of trying to do it itself. This allows us to edit with the output of $ nats c info X Y --json > y.json and flat, user defined configuration.