-
-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #261 from TomWright/v2-wip
Dasel V2
- Loading branch information
Showing
151 changed files
with
8,802 additions
and
14,311 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
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
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
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 |
---|---|---|
|
@@ -63,11 +63,11 @@ For more information see the [installation documentation](https://daseldocs.tomw | |
### Select | ||
|
||
```bash | ||
echo '{"name": "Tom"}' | dasel -r json '.name' | ||
echo '{"name": "Tom"}' | dasel -r json 'name' | ||
"Tom" | ||
``` | ||
|
||
See [select documentation](https://daseldocs.tomwright.me/usage/select). | ||
See [select documentation](https://daseldocs.tomwright.me/commands/select). | ||
|
||
### Convert json to yaml | ||
|
||
|
@@ -76,19 +76,19 @@ echo '{"name": "Tom"}' | dasel -r json -w yaml | |
name: Tom | ||
``` | ||
|
||
See [select documentation](https://daseldocs.tomwright.me/usage/select). | ||
See [select documentation](https://daseldocs.tomwright.me/commands/select). | ||
|
||
### Put | ||
|
||
```bash | ||
echo '{"name": "Tom"}' | dasel put string -r json '.email' '[email protected]' | ||
echo '{"name": "Tom"}' | dasel put -r json -t string -v '[email protected]' 'email' | ||
{ | ||
"email": "[email protected]", | ||
"name": "Tom" | ||
} | ||
``` | ||
|
||
See [put documentation](https://daseldocs.tomwright.me/usage/put). | ||
See [put documentation](https://daseldocs.tomwright.me/commands/put). | ||
|
||
### Delete | ||
|
||
|
@@ -102,7 +102,7 @@ echo '{ | |
} | ||
``` | ||
|
||
See [delete documentation](https://daseldocs.tomwright.me/usage/delete). | ||
See [delete documentation](https://daseldocs.tomwright.me/commands/delete). | ||
|
||
## Completion | ||
|
||
|
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
Oops, something went wrong.