Skip to content

armgit / herdr

Public Imported from GitHub
0

the runtime your coding agents live on

555 B
Raw Blame
const std = @import("std");
const gen = @import("mdgen.zig");

pub fn main(init: std.process.Init) !void {
    const alloc = init.arena.allocator();

    var buffer: [1024]u8 = undefined;
    var stdout_writer = std.Io.File.stdout().writer(init.io, &buffer);
    const writer = &stdout_writer.interface;
    try gen.substitute(alloc, @embedFile("ghostty_5_header.md"), writer);
    try gen.genConfig(writer, false);
    try gen.genKeybindActions(writer);
    try gen.substitute(alloc, @embedFile("ghostty_5_footer.md"), writer);
    try writer.flush();
}