Fork channel

Create a new channel as a copy of main.

Rename channel

Rename main to:

Delete channel

Delete main? This cannot be undone.

build.zig
pub fn build(b: *@import("std").Build) void {
    const optimize = b.standardOptimizeOption(.{});
    const target = b.standardTargetOptions(.{});

    const exe = b.addExecutable(.{
        .name = "snake",
        .target = target,
        .optimize = optimize,
        .root_source_file = .{ .path = "src/main.zig" },
    });
    exe.strip = true;
    exe.want_lto = true;
    exe.single_threaded = true;
    exe.install();

    b.step("run", "Run the app").dependOn(&exe.run().step);
}