rayoko/src/main.zig

10 lines
261 B
Zig
Raw Normal View History

2019-09-18 14:20:09 +00:00
const std = @import("std");
pub fn main() anyerror!void {
2019-09-18 14:37:08 +00:00
const allocator = std.heap.direct_allocator;
var args_it = std.process.args();
_ = args_it.skip();
const filepath = try (args_it.next(allocator) orelse @panic("expected file path"));
2019-09-18 14:20:09 +00:00
}