open Fli [] let main argv = if argv.Length <> 1 then eprintfn "Usage: mutannot " exit 1 let gitState = cli { Exec "git" Arguments [ "status"; "--porcelain" ] } |> Command.execute |> Output.throwIfErrored if gitState.Text <> None then eprintfn "Uncommitted changes. Refusing to run." exit 2 0