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

15 lines (14 loc) • 1.05 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 all `akm workflow *` commands. import { formatWorkflowCreatePlain, formatWorkflowListPlain, formatWorkflowPlanPlain, formatWorkflowResumePlain, formatWorkflowRunPlain, formatWorkflowStatusPlain, } from "./helpers.js"; export const workflowFormatters = [ { command: "workflow-status", handler: (r) => formatWorkflowStatusPlain(r) }, { command: "workflow-list", handler: (r) => formatWorkflowListPlain(r) }, { command: "workflow-create", handler: (r) => formatWorkflowCreatePlain(r) }, { command: "workflow-resume", handler: (r) => formatWorkflowResumePlain(r) }, { command: "workflow-abandon", handler: (r) => formatWorkflowStatusPlain(r) }, { command: "workflow-run", handler: (r) => formatWorkflowRunPlain(r) }, { command: "workflow-plan", handler: (r) => formatWorkflowPlanPlain(r) }, ];