Skip to content
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

docs: add additional field 'fromfile' for options in the help-all goal output #17944

Conversation

AlexTereshenkov
Copy link
Member

@AlexTereshenkov AlexTereshenkov commented Jan 7, 2023

Extend the help-all output by including an additional field fromfile. There are currently three options where one can either provide a dict or a file path from where the value will be read; the file path is provided as text with @filepath notation.

This information is needed for the JSON schema generation in #17895 as such options would allow two types: ["some-type", "string"]

@AlexTereshenkov AlexTereshenkov added the category:internal CI, fixes for not-yet-released features, etc. label Jan 7, 2023
@AlexTereshenkov AlexTereshenkov self-assigned this Jan 7, 2023
kaos
kaos previously approved these changes Jan 7, 2023
src/python/pants/help/help_info_extracter.py Outdated Show resolved Hide resolved
@AlexTereshenkov AlexTereshenkov marked this pull request as ready for review January 8, 2023 09:22
@AlexTereshenkov AlexTereshenkov merged commit aad7b8b into pantsbuild:main Jan 8, 2023
@AlexTereshenkov AlexTereshenkov deleted the docs/extend-help-goal-with-fromfile-property branch January 8, 2023 12:54
cczona pushed a commit to cczona/pants that referenced this pull request Jan 9, 2023
…l output (pantsbuild#17944)

* docs: add additional field 'fromfile' for options in the help-all goal output

* Reword

* Fix tests

* Improve wording
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:internal CI, fixes for not-yet-released features, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants