Files
claude-engineering-plugin/src/index.ts
Trevin Chow c2d60b47be
Some checks failed
CI / pr-title (push) Has been cancelled
CI / test (push) Has been cancelled
Release PR / release-pr (push) Has been cancelled
Release PR / publish-cli (push) Has been cancelled
refactor(install): prefer native plugin install across targets (#609)
Co-authored-by: John Cavanaugh <cavanaug@users.noreply.github.com>
2026-04-20 18:47:07 -07:00

26 lines
692 B
TypeScript

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