dicer

dicer: Dice roll app
Log | Files | Refs | README

main.zig (238B)


      1 const std = @import("std");
      2 const dicer = @import("root.zig").dicer;
      3 
      4 pub fn main() !void {
      5     var args = std.process.args();
      6     _ = args.skip(); // program name
      7     const wtr = std.io.getStdOut().writer();
      8     try dicer(&args, wtr);
      9 }