Skip to content

docs: document -skip flag and add filter/skip examples#239

Merged
yaronya merged 2 commits into
masterfrom
chore/document-skip-flag
Apr 23, 2026
Merged

docs: document -skip flag and add filter/skip examples#239
yaronya merged 2 commits into
masterfrom
chore/document-skip-flag

Conversation

@yaronya
Copy link
Copy Markdown
Contributor

@yaronya yaronya commented Apr 23, 2026

Summary

  • Add -skip to the Optional CLI flags list in README. Flag was registered in cli/args.go:50 and exposed via TERRATAG_SKIP env var but undocumented.
  • Add a Filtering resource types section with runnable examples for -filter, -skip, and combining both.
  • Notes why -skip is needed (Go RE2 lacks negative lookahead, so users cannot express exclusion via -filter alone).

Test plan

  • Render the README on GitHub and confirm the new flag entry and examples display correctly.
  • Confirm no code paths changed — docs-only diff.

yaronya added 2 commits April 23, 2026 17:52
The -skip flag was registered in cli/args.go and exposed via the
TERRATAG_SKIP env var but was not listed under Optional CLI flags. Add
the flag entry and a Filtering resource types section with examples
covering -filter, -skip, and their combination.
@yaronya yaronya merged commit be54ad0 into master Apr 23, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant