remove reliance on nh for most things

This commit is contained in:
atagen 2025-06-20 12:54:21 +10:00
parent 56d0dc028f
commit 1a2ca2dcbd
7 changed files with 242 additions and 318 deletions

View file

@ -1,7 +1,7 @@
open Meat
let () =
match Sys.getenv_opt "NH_FLAKE" with
match Sys.getenv_opt "MEATS" with
| Some _ ->
if Array.length Sys.argv >= 2 then
match String.lowercase_ascii (Array.get Sys.argv 1) with
@ -9,7 +9,7 @@ let () =
| "cook" -> cook ()
| "poke" -> poke ()
| "gut" -> gut ()
| "look" -> look ()
(* | "look" -> look () *)
| "fresh" -> fresh ()
| _ -> help ()
else help ()