Conversation
|
\ci fast |
86a716d to
03b77fb
Compare
|
Would it be preferable to use the json file at build-time instead of run-time?
However before looking into it too hard I think there's a question about the implications of parsing a json file vs parsing the
|
|
|
mwestphal
left a comment
There was a problem hiding this comment.
Im afraid design needs to be discussed.
03b77fb to
7e0ec7c
Compare
e9b5dac to
79a15c2
Compare
mwestphal
left a comment
There was a problem hiding this comment.
remove all unrelated style changes.
a304819 to
4b586d4
Compare
4b586d4 to
f17c193
Compare
f17c193 to
71d5ece
Compare
I believe you are referring to the stylistic changes made to |
You are absolutely right! Do you think you could put these changes in a separate commit (or even PR) ? |
71d5ece to
519d78d
Compare
519d78d to
99653c7
Compare
f5b906b to
189e3dc
Compare
189e3dc to
183aa7a
Compare
Describe your changes
The goal of this change is to improve shell completion by making the shell completion scripts more reliable.
I moved CLI option definitions from the source code to
cli-options.jsonin theresourcesdirectory. I also added acli-options.schema.jsonfile so users with an editor that supports JSON schema diagnostics can take advantage of the warnings. A GitHub workflow step was also added to validatecli-options.jsonusing the schema file.cli-options.jsonis used to generateF3DCLIOptions.h,completion.bash,completion.fish, andcompletion.zshduring the CMake configuration step. Any updates tocli-options.jsoncause CMake to rerun configuration.The bulk of the work is done in
f3dCLIOptions.cmake.The completion files have been tested against all three shells.
Many existing tests exercise CLI options. I added one additional
TestHelp*check, but I believe the CLI options changes are already well covered by the existing tests.Issue ticket number and link if any
#2121
Checklist for finalizing the PR
.github/workflows/versions.json, I have updateddocker_timestampContinuous integration
Please write a comment to run CI, eg:
\ci fast.See here for more info.