cmdliner icon indicating copy to clipboard operation
cmdliner copied to clipboard

Export options information

Open anne-pacalet opened this issue 1 year ago • 2 comments

In another ticket, you said:

Today while washing the dishes I thought maybe the best way to try to move on this is that when cmdliner is invoked with --cmdliner it should simply dump on stdout all the static information it knows about command lines in some form of structured data format like json or sexp.

For documentation purpose, I would love to be able to export everything about the options in a JSON file. Do you still have this plan in mind?

anne-pacalet avatar May 31 '24 08:05 anne-pacalet

Yes, the recent discussion here

dbuenzli avatar May 31 '24 09:05 dbuenzli

Excellent! :+1:

anne-pacalet avatar May 31 '24 09:05 anne-pacalet