-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
feat(ingest): add rewrite option for metadata file check #5763
feat(ingest): add rewrite option for metadata file check #5763
Conversation
is_flag=True, | ||
help="Rewrite the JSON file to it's canonical form.", | ||
) | ||
def metadata_file(json_file: str, rewrite: bool) -> None: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do you want to leave the old command in for backwards compat, with help text saying: "Deprecated: use metadata_file instead"?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given that we don't reference this command in our docs at all, my suspicion is that nobody was really using it (we really should have telemetry for cli commands by default). We can add the alias + deprecation warning, but I don't think it's necessary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Checklist