Summary:
This pull request introduces a new script that iterates over all Python scripts in the scripts directory, runs each script with the -h flag to generate help text, and saves the output to corresponding hidden files in the .hidden directory. This precomputes the help outputs for each script, facilitating faster searches or documentation purposes.
Motivation and Context:
The motivation behind this change is to improve the efficiency of generating help outputs for scripts, avoiding the need to dynamically generate help text each time it's needed. This also helps in keeping the main scripts directory uncluttered by storing these outputs in a hidden directory.
Dependencies:
No additional dependencies are required for this change.
Type of change
Check the relevant options.
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
Provide data, screenshots, command line to test (if relevant)
Data:
Not applicable.
Command line to test:
Run the new script in the scripts directory:
Quick description
Summary: This pull request introduces a new script that iterates over all Python scripts in the
scripts
directory, runs each script with the-h
flag to generate help text, and saves the output to corresponding hidden files in the.hidden
directory. This precomputes the help outputs for each script, facilitating faster searches or documentation purposes.Motivation and Context: The motivation behind this change is to improve the efficiency of generating help outputs for scripts, avoiding the need to dynamically generate help text each time it's needed. This also helps in keeping the main
scripts
directory uncluttered by storing these outputs in a hidden directory.Dependencies: No additional dependencies are required for this change.
Type of change
Check the relevant options.
Provide data, screenshots, command line to test (if relevant)
Data: Not applicable.
Command line to test: Run the new script in the
scripts
directory:Checklist