╭ changed ───╮ │src/main.zig│ ╰────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭────────────────────────────────────────────╮ │4 const rp = xit.repo; │ │5 const cmd = @import("./command.zig"); │ │6 const srv = @import("./serve.zig"); │ │7 -const ssh = @import("./ssh_git.zig"); │ │8 -const ssh_tui = @import("./ssh_tui.zig");│ │7 │ │8 pub const RunOpts = struct { │ │9 out: *std.Io.Writer, │ ╰────────────────────────────────────────────╯ ╭──────────────────────────────────────────────╮ │10 err: *std.Io.Writer, │ │13 - environ_map: *std.process.Environ.Map,│ │11 }; │ │12 │ │13 pub fn main(init: std.process.Init) !u8 { │ ╰──────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │35 │ │36 var stdout_writer = std.Io.File.stdout().writer(io, &.{}); │ │37 var stderr_writer = std.Io.File.stderr().writer(io, &.{}); │ │41 - const run_opts = RunOpts{ .out = &stdout_writer.interface, .err = &stderr_writer.interface, .environ_map = init.environ_map };│ │38 + const run_opts = RunOpts{ .out = &stdout_writer.interface, .err = &stderr_writer.interface }; │ │39 │ │40 const cwd_path = try std.process.currentPathAlloc(io, allocator); │ │41 defer allocator.free(cwd_path); │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │76 .help => |cmd_kind_maybe| try cmd.printHelp(cmd_kind_maybe, run_opts.out), │ │77 .cli => |cli_cmd| switch (cli_cmd) { │ │78 .serve => |options| try srv.run(repo_kind, any_repo_opts, io, allocator, cwd_path, options, run_opts.err, {}),│ │82 - .ssh_git => |options| try ssh.run(io, allocator, options, run_opts.environ_map), │ │83 - .ssh_tui => |options| try ssh_tui.run(io, allocator, options, run_opts.environ_map), │ │79 }, │ │80 } │ │81 } │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯