import { NERF_COMMAND_DESCRIPTION, getNerfArgumentCompletions } from "./catalog.js";
export function registerNerfCommand(pi) {
    pi.registerCommand("nerf", {
        description: NERF_COMMAND_DESCRIPTION,
        getArgumentCompletions: getNerfArgumentCompletions,
        handler: async (args, ctx) => {
            const { handleNerfCommand } = await import("./dispatcher.js");
            await handleNerfCommand(args, ctx, pi);
        },
    });
}
