UNPKG

akm-cli

Version:

akm (Agent Knowledge Manager) — a portable, local-first capability library for AI agents. Discover, load, share, and improve reusable skills, scripts, workflows, and knowledge across any shell-capable coding agent, including Claude Code, OpenCode, and Cur

16 lines (15 loc) • 1.2 kB
// This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at https://mozilla.org/MPL/2.0/. // Output text formatters for `akm proposal *` (#225). import { formatProposalAcceptPlain, formatProposalDiffPlain, formatProposalDrainPlain, formatProposalListPlain, formatProposalRejectPlain, formatProposalReopenBatchPlain, formatProposalReopenPlain, formatProposalShowPlain, } from "../helpers.js"; export const proposalFormatters = [ { command: "proposal-list", handler: (r) => formatProposalListPlain(r) }, { command: "proposal-show", handler: (r) => formatProposalShowPlain(r) }, { command: "proposal-accept", handler: (r) => formatProposalAcceptPlain(r) }, { command: "proposal-reject", handler: (r) => formatProposalRejectPlain(r) }, { command: "proposal-reopen", handler: (r) => formatProposalReopenPlain(r) }, { command: "proposal-reopen-batch", handler: (r) => formatProposalReopenBatchPlain(r) }, { command: "proposal-diff", handler: (r) => formatProposalDiffPlain(r) }, { command: "proposal-drain", handler: (r) => formatProposalDrainPlain(r) }, ];