Skip to content

Commit

Permalink
skip checks for whitespace on autogen
Browse files Browse the repository at this point in the history
  • Loading branch information
AustinAbro321 committed Apr 23, 2024
1 parent 1b75669 commit 8ac69ff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ repos:
- "--allow-missing-credentials"
- id: detect-private-key
- id: end-of-file-fixer
exclude: site/src/content/docs/commands/.*
- id: fix-byte-order-marker
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
exclude: site/src/content/docs/commands/.*
- repo: https://github.com/sirosen/texthooks
rev: 0.6.4
hooks:
Expand Down
8 changes: 4 additions & 4 deletions site/src/content/docs/commands/zarf_tools_yq_eval.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,21 @@ zarf tools yq eval [expression] [yaml_file1]... [flags]
```
# Reads field under the given path for each file
zarf tools yq e '.a.b' f1.yml f2.yml
zarf tools yq e '.a.b' f1.yml f2.yml
# Prints out the file
zarf tools yq e sample.yaml
zarf tools yq e sample.yaml
# Pipe from STDIN
## use '-' as a filename to pipe from STDIN
cat file2.yml | zarf tools yq e '.a.b' file1.yml - file3.yml
# Creates a new yaml document
## Note that editing an empty file does not work.
zarf tools yq e -n '.a.b.c = "cat"'
zarf tools yq e -n '.a.b.c = "cat"'
# Update a file inplace
zarf tools yq e '.a.b = "cool"' -i file.yaml
zarf tools yq e '.a.b = "cool"' -i file.yaml
```

Expand Down

0 comments on commit 8ac69ff

Please sign in to comment.