-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into NR-68284/install-script-proxy-support
- Loading branch information
Showing
3 changed files
with
45 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
## newrelic utils yq | ||
|
||
Parse yaml strings | ||
|
||
### Synopsis | ||
|
||
Parse yaml strings | ||
|
||
The yq subcommand makes use of gojq (https://github.com/itchyny/gojq) to provide | ||
yaml parsing capabilities. | ||
|
||
|
||
``` | ||
newrelic utils yq [flags] | ||
``` | ||
|
||
### Examples | ||
|
||
``` | ||
echo '"foo": 128' | newrelic utils yq '.foo' | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
-h, --help help for yq | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
-a, --accountId int the account ID to use. Can be overridden by setting NEW_RELIC_ACCOUNT_ID | ||
--debug debug level logging | ||
--format string output text format [JSON, Text, YAML] (default "JSON") | ||
--plain output compact text | ||
--profile string the authentication profile to use | ||
--trace trace level logging | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [newrelic utils](newrelic_utils.md) - Various utility methods |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters