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

FR: option to print the output of --help-all in json format #1025

Open
mike-lawrence opened this issue Jun 27, 2021 · 1 comment
Open

FR: option to print the output of --help-all in json format #1025

mike-lawrence opened this issue Jun 27, 2021 · 1 comment

Comments

@mike-lawrence
Copy link

I'm playing with an R package that permits supplying the runtime args as a nested list, thereby making things flexible to future possible changes in what cmdstan accepts. To validate this user input (and also to show the user what's allowed), it would be useful to have the output of --help-all in an easily-parsed format like json. Or maybe there's already an easily-parsed way to get the output already that I'm missing?

@mitzimorris
Copy link
Member

the future possible changes to CmdStan are flattening the arguments and using C++ command line parsing package cli11 - cf #925.
from that package we'll get --help for free.

the current CmdStan command argument handling is a failed experiment, and we need to move on.

@mike-lawrence mike-lawrence changed the title FR: option to pruint the output of --help-all in json format FR: option to print the output of --help-all in json format Jun 28, 2021
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

No branches or pull requests

2 participants