Files
claude-engineering-plugin/src/index.ts

26 lines
680 B
TypeScript

#!/usr/bin/env bun
import { defineCommand, runMain } from "citty"
import packageJson from "../package.json"
import convert from "./commands/convert"
import install from "./commands/install"
import listCommand from "./commands/list"
import pluginPath from "./commands/plugin-path"
import sync from "./commands/sync"
const main = defineCommand({
meta: {
name: "compound-plugin",
version: packageJson.version,
description: "Convert Claude Code plugins into other agent formats",
},
subCommands: {
convert: () => convert,
install: () => install,
list: () => listCommand,
"plugin-path": () => pluginPath,
sync: () => sync,
},
})
runMain(main)