1
0
mirror of https://github.com/TomWright/dasel.git synced 2022-05-22 02:32:45 +03:00

Merge pull request #156 from ryuheechul/patch-1

Update README.md
This commit is contained in:
Tom Wright
2021-08-14 14:01:21 +01:00
committed by GitHub

View File

@@ -53,7 +53,7 @@ For more information see the [installation documentation](https://daseldocs.tomw
### Select
```bash
echo '{"name": "Tom"}' | dasel -p json '.name'
echo '{"name": "Tom"}' | dasel -r json '.name'
"Tom"
```
@@ -62,7 +62,7 @@ See [select documentation](https://daseldocs.tomwright.me/usage/select).
### Put
```bash
echo '{"name": "Tom"}' | dasel put string -p json '.email' 'contact@tomwright.me'
echo '{"name": "Tom"}' | dasel put string -r json '.email' 'contact@tomwright.me'
{
"email": "contact@tomwright.me",
"name": "Tom"
@@ -77,7 +77,7 @@ See [put documentation](https://daseldocs.tomwright.me/usage/put).
echo '{
"email": "contact@tomwright.me",
"name": "Tom"
}' | dasel delete -p json '.email' 'contact@tomwright.me'
}' | dasel delete -r json '.email' 'contact@tomwright.me'
{
"name": "Tom"
}