Generate all missing mli file #1560
Unanswered
qazxcdswe123
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
This might be off topic and feel free to close it.
I have a codebase with 200+ ml file without mli file, and the extension can correctly generate mli file by clicking the switch implementation/interface button top right.
Is there a method to generate all missing mli file/programmatically generate mli file, without clicking the button one by one?
I've tried using bash script with
ocamlc -i matched.ml
anddune exec -- ocaml-print-intf matched.ml
, no luck. This extension is the only working way to generate mli.Thanks
Beta Was this translation helpful? Give feedback.
All reactions