Skip to content

Feat/add option to exclude fields#38

Merged
juarezr merged 6 commits intojuarezr:masterfrom
paulheijman:feat/add-option-to-exclude-fields
Sep 28, 2025
Merged

Feat/add option to exclude fields#38
juarezr merged 6 commits intojuarezr:masterfrom
paulheijman:feat/add-option-to-exclude-fields

Conversation

@paulheijman
Copy link
Contributor

Sometimes it's more practical to exclude specific fields instead of listing all the fields you want to export.
The -e argument lets you define a comma separated list of fields to exclude from the documents.

E.g.:
-s "foo, bar, baz" -e "bar, quux"
will export only the foo and baz fields because bar is excluded. quux is ignored in this case because it is not in the select list.

If -s is not given it will use all fields minus the ones in the exclude list.

@juarezr juarezr added the enhancement New feature or request label Sep 24, 2025
@juarezr
Copy link
Owner

juarezr commented Sep 24, 2025

@paulheijman,

Would you mind running the following command to appease the CI verification:

cargo fmt

:-)

@paulheijman
Copy link
Contributor Author

Did the cargo fmt ;-)

@juarezr juarezr merged commit 566ab5f into juarezr:master Sep 28, 2025
6 checks passed
@paulheijman paulheijman deleted the feat/add-option-to-exclude-fields branch September 29, 2025 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants