newrelic / newrelic-cli

The New Relic Command Line Interface
https://developer.newrelic.com/explore-docs/newrelic-cli
Apache License 2.0
125 stars 70 forks source link

feat(entity): Entity guid validation #1605

Closed NSSPKrishna closed 2 months ago

NSSPKrishna commented 2 months ago

This change will ensure that the customer-provided GUID is valid before it is accepted by the CLI, preventing any potential issues or errors that may arise from invalid input

NSSPKrishna commented 2 months ago

@Nandu-pns , I have moved the code to client-go for better reusability over CLI. https://github.com/newrelic/newrelic-client-go/pull/1138

NSSPKrishna commented 2 months ago

NOTE: should update the client's version after its release