Skip to content

Cli retrieve unknown args #588

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 15, 2025
Merged

Conversation

kschwab
Copy link
Contributor

@kschwab kschwab commented Apr 13, 2025

Fixes #582

Copy link
Contributor

hyperlint-ai bot commented Apr 13, 2025

PR Change Summary

Enhanced CLI argument handling by allowing retrieval of unknown arguments.

  • Updated documentation to reflect changes in handling unknown CLI arguments.
  • Introduced the CliUnknownArgs annotation for retrieving ignored arguments.
  • Modified example code to demonstrate the new functionality.

Modified Files

  • docs/index.md

How can I customize these reviews?

Check out the Hyperlint AI Reviewer docs for more information on how to customize the review.

If you just want to ignore it on this PR, you can add the hyperlint-ignore label to the PR. Future changes won't trigger a Hyperlint review.

Note specifically for link checks, we only check the first 30 links in a file and we cache the results for several hours (for instance, if you just added a page, you might experience this). Our recommendation is to add hyperlint-ignore to the PR to ignore the link check for this PR.

@hramezani hramezani enabled auto-merge (squash) April 15, 2025 08:07
@hramezani
Copy link
Member

Thanks @kschwab

@hramezani hramezani merged commit 20640b0 into pydantic:main Apr 15, 2025
19 checks passed
@kschwab kschwab deleted the cli_retrieve_unknown_args branch April 21, 2025 12:58
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.

How to accept additional arguments
2 participants