Assuming code like this:
"This is a struct" struct Bla "it has a field" a_field end bla = Bla(42)
How do I access the documentation of Bla.a_field from within a program (I know how to get it at the REPL)? I can use the functions in
@doc) to access the doc string for
Bla, but I haven’t found a way to do it for
For context: I want to automatically generate command line options from a
Parameters object, using the documentation of the fields of the object to document the command line options.