Files
bun.sh/src/cli/pm_why_command.zig
Michael H 0ee633663e Implement bun why (#20847)
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-07-16 02:00:53 -07:00

12 lines
396 B
Zig

const WhyCommand = @import("./why_command.zig").WhyCommand;
const bun = @import("bun");
const Command = bun.CLI.Command;
const PackageManager = bun.install.PackageManager;
const string = bun.string;
pub const PmWhyCommand = struct {
pub fn exec(ctx: Command.Context, pm: *PackageManager, positionals: []const string) !void {
try WhyCommand.execFromPm(ctx, pm, positionals);
}
};