lean4_cli_example/Main.lean
2024-06-03 13:14:48 +09:00

13 lines
316 B
Text

import «Lean4CliExample»
/---
Main entry
--/
def main (args: List String) : IO UInt32 :=
exampleCmd.validate args
#eval main <| "-i -o -p 1 --module=Lean.Compiler --set-paths=path1,path2,path3 input output1 output2".splitOn " "
#eval main <| "-io -p1 input".splitOn " "
#eval main <| "--version".splitOn " "