// MoonBit Notary CLI Main Entry Point
// Author: hcjbat

///|
fn main {
  let process_args = @env.args()
  let args : Array[String] = []
  if process_args.length() <= 1 {
    args.push("help")
  } else {
    for index = 1; index < process_args.length(); index = index + 1 {
      args.push(process_args[index])
    }
  }
  let cmd = @cli.parse_args(args)
  let output = @cli.run_cli_command(cmd)
  println(output)
}