#ocaml #language-server #lsp #infer

app infer-mli

Infer a .mli file from a .ml file using the OCaml Language Server

2 stable releases

1.0.2 Oct 5, 2024

#550 in Development tools

Download history 285/week @ 2024-10-04 24/week @ 2024-10-11

309 downloads per month

MIT license

14KB
184 lines

infer-mli

Creates a .mli for ml files in a ocaml project by cli

Installing

cargo install infer-mli

Usage

infer-mli --root-dir <path to ocaml project> --file <path to ml file in root dir>

Example

infer-mli --root-dir ~/projects/ocaml/infer-mli --file ~/projects/ocaml/infer-mli/src/infer_mli.ml

This will create a file infer_mli.mli in the root directory of the project.

License

MIT

Dependencies

~14–25MB
~393K SLoC