documentalist icon indicating copy to clipboard operation
documentalist copied to clipboard

Pass flags to Clang

Open jspahrsummers opened this issue 10 years ago • 3 comments

Right now, it assumes -ObjC and nothing else. Command line users should be able to pass through any arbitrary flags.

jspahrsummers avatar Aug 09 '13 07:08 jspahrsummers

In terms of command line options, you would want to set source parser, comment parser and writer. We could do a -- separator. i.e. documentalist -objc -tomdoc -html-fancy -- -Obj-C --clang-option -Oh Also lets use https://github.com/pcapriotti/optparse-applicative

mxswd avatar Aug 21 '13 02:08 mxswd

@maxpow4h Is that better than System.Console.GetOpt in some way?

jspahrsummers avatar Aug 21 '13 02:08 jspahrsummers

Nah, we would be adding unnecessary dependencies. It's just nice for --help and optional arguments.

mxswd avatar Aug 21 '13 04:08 mxswd