import { defineCommand } from "politty";
import { moduleCommand } from "./module";
import { modulesCommand } from "./modules";
import { searchCommand } from "./search";

export const docCommand = defineCommand({
  name: "doc",
  description: "Browse module documentation",
  subCommands: {
    modules: modulesCommand,
    module: moduleCommand,
    search: searchCommand,
  },
});
