mirror of
https://github.com/oven-sh/bun
synced 2026-02-16 05:42:43 +00:00
Co-authored-by: Jarred Sumner <jarred@jarredsumner.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
12 lines
396 B
Zig
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);
|
|
}
|
|
};
|