stan-dev / stan-dev/cmdstan

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

Open
#1,025 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
238
Forks
106
Avg merge
2h 29m
Merged PRs (30d)
6

Description

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?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running the --help-all CLI entry point and tracing where its output is assembled. Done means an option produces the allowed arguments in a machine-parseable JSON representation suitable for validating the nested runtime arguments described in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, json
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.