#ocaml #language-server #infer #lsp

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

#1361 in Development tools

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–26MB
~387K SLoC