@reason-native-web/oopen
v1.0.1
Published
Open files esyly
Downloads
5
Readme
oopen - OCaml-open
esyly open files, a verry thin wrapper around ocaml-open
Usage
Add this to your package.json/esy.json:
{
"devDependencies": {
"@reason-native-web/oopen": "*"
}
}
Then use esy oopen your_file.html
to open a html file in your browser of choise.
Usage with odoc
{
"scripts": {
"docs": "esy dune build @doc",
"open-docs": "esy oopen #{self.target_dir}/default/_doc/_html/index.html"
},
"devDependencies": {
"@reason-native-web/oopen": "*"
}
}
Then run esy docs && esy open-docs
to build and open the docs.